mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
beginning of test logging
This commit is contained in:
parent
faf54a2055
commit
235377708f
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 New Issue
Block a user