Skip to content

Commit 7261986

Browse files
committed
fwupd-support: Add a reboot after update to not affect further tests
Signed-off-by: Filip Gołaś <[email protected]>
1 parent c48d218 commit 7261986

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dasharo-compatibility/fwupd-support.robot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ Fwupd Devices Detected Linux
108108
Should Contain All ${out} @{devices}
109109

110110
Fwupd Local Firmware Update Linux
111+
IF "${POWER_CTRL}"=="none" and @{TEST_TAGS} and "semiauto" not in @{TEST_TAGS}
112+
Skip Skipping semiauto test
113+
END
111114
${cabinet_given}= Run Keyword And Return Status
112115
... Get Environment Variable ${CABINET_ENVVAR}
113116
IF not ${cabinet_given}
@@ -127,6 +130,7 @@ Fwupd Local Firmware Update Linux
127130
... AC power
128131
... AC is disconnected, connect AC. (Or its a bug - AC it not detected if internal battery is full. Discharge the battery a bit and try again.)\n\n
129132
Should Contain ${out} Successfully installed firmware
133+
# fwupd will automatically reboot the system
130134
IF "${POWER_CTRL}"=="none"
131135
Execute Manual Step The laptop might stay powered off after update. Power it back on.
132136
END

0 commit comments

Comments
 (0)