aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-11-12 15:08:15 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-11-20 10:53:31 +0000
commitbcc388df07b8ac69660c2ad0200d4f242513e642 (patch)
tree4d5b3d9b776e78412b53293343271f20cb7bcbba
parent39e2821077e6dcf788b7c2a9ef50970ec7995437 (diff)
downloadqemu-bcc388df07b8ac69660c2ad0200d4f242513e642.tar.gz
tests/vm: make --interactive (and therefore DEBUG=1) unconditional
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>
-rwxr-xr-xtests/vm/basevm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 91a9226026d..0b8c1b26576 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -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: