Skip to content

Commit

Permalink
tests/vm: make --interactive (and therefore DEBUG=1) unconditional
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stsquad committed Nov 20, 2019
1 parent 39e2821 commit bcc388d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vm/basevm.py
Expand Up @@ -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:
Expand Down

0 comments on commit bcc388d

Please sign in to comment.