aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/run_tests.py6
1 files changed, 4 insertions, 2 deletions
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: