This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 13675be72ef85f44cd33455036bc33849c737ee1
Author: Dave Brondsema <[email protected]>
AuthorDate: Fri May 22 16:55:05 2026 -0400

    [#8607] ./run_tests QoL: show final message, allow trailing slash for 
tab-complete of suites
---
 run_tests | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/run_tests b/run_tests
index d51f436a0..e69bb2fd9 100755
--- a/run_tests
+++ b/run_tests
@@ -215,10 +215,17 @@ def parse_args():
     parser.add_argument(
         '-p', help='List of packages to run tests on. Default: all',
         dest='packages', choices=get_packages(), default=get_packages(),
+        type=lambda s: s.rstrip('/'),
         nargs='+')
     return parser.parse_known_args()
 
 
 if __name__ == "__main__":
     ret_codes = run_tests_in_parallel(*parse_args())
-    sys.exit(any(ret_codes))
+    num_failed = sum(1 for code in ret_codes if code)
+    print()
+    if num_failed:
+        print(f'FAILURE(s) in {num_failed} suite(s) above')
+        sys.exit(1)
+    else:
+        print('ALL PASSED')

Reply via email to