summaryrefslogtreecommitdiffstats
path: root/tests/vm
diff options
context:
space:
mode:
authorAlex Bennée2019-11-12 16:08:15 +0100
committerAlex Bennée2019-11-20 11:53:31 +0100
commitbcc388df07b8ac69660c2ad0200d4f242513e642 (patch)
tree4d5b3d9b776e78412b53293343271f20cb7bcbba /tests/vm
parentUpdate version for v4.2.0-rc2 release (diff)
downloadqemu-bcc388df07b8ac69660c2ad0200d4f242513e642.tar.gz
qemu-bcc388df07b8ac69660c2ad0200d4f242513e642.tar.xz
qemu-bcc388df07b8ac69660c2ad0200d4f242513e642.zip
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>
Diffstat (limited to 'tests/vm')
-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 91a9226026..0b8c1b2657 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: