x86: Run unit tests with --no-reboot so shutdowns show up as failures
PATCH 1/1 x86: Run unit tests with --no-reboot so shutdowns show up as failures
Run tests with --no-reboot so that triple fault shutdowns get reported as failures. By default, Qemu automatically reboots on shutdown, i.e. automatically restarts the test, eventually leading to a timeout.
Signed-off-by Sean Christopherson <[email protected]>
---
I don't think there are any tests would run afoul of --no-reboot?
x86/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
x86/run +1 -1
@@ -37,7 +37,7 @@ else pc_testdev="-device testdev,chardev=testlog -chardev file,id=testlog,path=msr.out" fi -command="${qemu} -nodefaults $pc_testdev -vnc none -serial stdio $pci_testdev" +command="${qemu} --no-reboot -nodefaults $pc_testdev -vnc none -serial stdio $pci_testdev" command+=" -machine accel=$ACCEL -kernel" command="$(timeout_cmd) $command"
Signature · 1 line
2.24.1