X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Frun_tests.py;h=726ccc9c0f46b9603507f9bede1d85531e765fc7;hb=f6e9b014cbd0ba5a757565a6a0179065d7236463;hp=2940f9e3608085af79106955dc03cb0157d22361;hpb=defde0f87067eb473660794cbd4a2da69fdd191d;p=vpp.git diff --git a/test/run_tests.py b/test/run_tests.py index 2940f9e3608..726ccc9c0f4 100644 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -789,11 +789,13 @@ if __name__ == '__main__': if attempts > 1: print("Perform %s attempts to pass the suite..." % attempts) - if run_interactive: + if run_interactive and len(suites): # don't fork if requiring interactive terminal + full_suite = unittest.TestSuite() + map(full_suite.addTests, suites) result = VppTestRunner(verbosity=verbose, failfast=failfast, - print_summary=True).run(suites[0]) + print_summary=True).run(full_suite) was_successful = result.wasSuccessful() if not was_successful: for test_case_info in result.failed_test_cases_info: