File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Resource ../lib/clonezilla.robot
7
7
8
8
Suite Setup Run Keywords
9
9
... Prepare Test Suite
10
+ Suite Teardown Log <pre>${LOG } </pre> html=True
10
11
# Test suite used to quickly flash disk images with preinstalled OSes using Clonezilla.
11
12
# Two environment variables must be set prior to running it:
12
13
# - SOURCE_IMAGE
@@ -20,6 +21,8 @@ Suite Setup Run Keywords
20
21
# - The same, but redirect the Clonezilla's output onto ttyS0 if video output is not available:
21
22
# SOURCE_IMAGE=1_windows_ubuntu TARGET_DISK=nvme0n1 CLONEZILLA_TTY=ttyS0 ./scripts/run.sh util/restore-disk-auto.robot
22
23
24
+ *** Variables ***
25
+ ${LOG } = ${EMPTY }
23
26
24
27
*** Test Cases ***
25
28
Restore Disk Clonezilla
@@ -54,7 +57,10 @@ Restore Disk Clonezilla
54
57
WHILE ${current_time } < ${end_time }
55
58
${out } = Read From Terminal
56
59
${len } = Get Length ${out }
57
- IF ${len } > 0 Log To Console ${out }
60
+ IF ${len } > 0
61
+ Log To Console ${out }
62
+ VAR ${LOG } = ${LOG }${out } scope=SUITE
63
+ END
58
64
Sleep 1s
59
65
60
66
${rebooted } = Run Keyword And Return Status Should Contain ${out } ${TIANOCORE_STRING }
You can’t perform that action at this time.
0 commit comments