beginning of test logging
This commit is contained in:
parent
faf54a2055
commit
235377708f
4 changed files with 48 additions and 1 deletions
22
lib/anacondalog.pm
Normal file
22
lib/anacondalog.pm
Normal 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:
|
||||
|
25
needles/anaconda_console.json
Normal file
25
needles/anaconda_console.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/anaconda_console.png
Normal file
BIN
needles/anaconda_console.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 392 B |
|
@ -1,4 +1,4 @@
|
|||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
|
Loading…
Reference in a new issue