Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update version (19.01) for API changes script
[vpp.git]
/
test
/
run_tests.py
diff --git
a/test/run_tests.py
b/test/run_tests.py
index
0af57ac
..
726ccc9
100644
(file)
--- a/
test/run_tests.py
+++ b/
test/run_tests.py
@@
-782,18
+782,20
@@
if __name__ == '__main__':
print("%s out of %s tests match specified filters" % (
tests_amount, tests_amount + cb.filtered.countTestCases()))
print("%s out of %s tests match specified filters" % (
tests_amount, tests_amount + cb.filtered.countTestCases()))
- if not running_extended_tests
()
:
+ if not running_extended_tests:
print("Not running extended tests (some tests will be skipped)")
attempts = retries + 1
if attempts > 1:
print("Perform %s attempts to pass the suite..." % attempts)
print("Not running extended tests (some tests will be skipped)")
attempts = retries + 1
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
# don't fork if requiring interactive terminal
+ full_suite = unittest.TestSuite()
+ map(full_suite.addTests, suites)
result = VppTestRunner(verbosity=verbose,
failfast=failfast,
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:
was_successful = result.wasSuccessful()
if not was_successful:
for test_case_info in result.failed_test_cases_info: