summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-04-09 23:02:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-04-10 21:32:17 +0300
commite25b61b5c2e8c0451558d022a759290d14c1b916 (patch)
tree391e3ea0038328cf77155f05e56a867ceea3bf9b
parentdb1b8947f01667ca106510f8c7ff60d1e0d0c702 (diff)
downloadmeson-e25b61b5c2e8c0451558d022a759290d14c1b916.tar.gz
Do not even submit test suites that are skipped completely.
-rwxr-xr-xrun_project_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 37f428b7d..e545a8d6d 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -1235,6 +1235,7 @@ def _run_tests(all_tests: T.List[T.Tuple[str, T.List[TestDef], bool]],
current_suite = ET.SubElement(junit_root, 'testsuite', {'name': name, 'tests': str(len(test_cases))})
if skipped:
futures += [LogRunFuture(['\n', bold(f'Not running {name} tests.'), '\n'])]
+ continue
else:
futures += [LogRunFuture(['\n', bold(f'Running {name} tests.'), '\n'])]