Skip to content

Commit bcc388d

Browse files
committed
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 <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Reviewed-by: Thomas Huth <[email protected]>
1 parent 39e2821 commit bcc388d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/vm/basevm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def main(vmcls):
403403
exitcode = 0
404404
if vm.ssh(*cmd) != 0:
405405
exitcode = 3
406-
if exitcode != 0 and args.interactive:
406+
if args.interactive:
407407
vm.ssh()
408408

409409
if not args.snapshot:

0 commit comments

Comments
 (0)