]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/vm: make --interactive (and therefore DEBUG=1) unconditional
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Nov 2019 15:08:15 +0000 (15:08 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Nov 2019 10:53:31 +0000 (10:53 +0000)
While the concept of only dropping to ssh if a test fails is nice it
is more useful for this to be unconditional. You usually just want to
get the build up and running and then noodle around debugging or
attempting to replicate.

Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
tests/vm/basevm.py

index 91a9226026d5a97135b4ffcebd6bc357fc404321..0b8c1b26576eabdce8f5f168aace750c8306987f 100755 (executable)
@@ -403,7 +403,7 @@ def main(vmcls):
     exitcode = 0
     if vm.ssh(*cmd) != 0:
         exitcode = 3
-    if exitcode != 0 and args.interactive:
+    if args.interactive:
         vm.ssh()
 
     if not args.snapshot: