diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-11-12 15:08:15 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-11-20 10:53:31 +0000 |
commit | bcc388df07b8ac69660c2ad0200d4f242513e642 (patch) | |
tree | 4d5b3d9b776e78412b53293343271f20cb7bcbba | |
parent | 39e2821077e6dcf788b7c2a9ef50970ec7995437 (diff) |
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-x | tests/vm/basevm.py | 2 |
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: |