1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 14:53:09 +00:00

beginning of test logging

This commit is contained in:
Garret Raziel 2015-02-13 15:08:29 +01:00 committed by Josef Skladanka
parent faf54a2055
commit 235377708f
4 changed files with 48 additions and 1 deletions

22
lib/anacondalog.pm Normal file
View File

@ -0,0 +1,22 @@
package anacondalog;
use base 'basetest';
use testapi;
sub post_fail_hook {
my $self = shift;
send_key "ctrl-alt-f2";
if (check_screen "anaconda_console", 10) {
upload_logs "/tmp/X.log";
upload_logs "/tmp/anaconda.log";
upload_logs "/tmp/packaging.log";
upload_logs "/tmp/storage.log";
upload_logs "/tmp/syslog";
upload_logs "/tmp/program.log";
}
}
1;
# vim: set sw=4 et:

View File

@ -0,0 +1,25 @@
{
"tags": [
"anaconda_console",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US",
"ENV-OFW-1",
"ENV-FLAVOR-server"
],
"area": [
{
"xpos": 0,
"ypos": 0,
"width": 121,
"height": 54,
"type": "match"
},
{
"xpos": 194,
"ypos": 0,
"width": 35,
"height": 27,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

View File

@ -1,4 +1,4 @@
use base "basetest";
use base "anacondalog";
use strict;
use testapi;