From 4a052a718aa83440d728556455fd42669a88a4dd Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 11 Mar 2024 13:59:55 +0000 Subject: [PATCH] test/run-unit-tests: sort the test cases we're executing When reading test logs manually it is a lot easier when the tests are sorted by name rather than by disk order. Signed-off-by: Ross Burton --- test/run-unit-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run-unit-tests.py b/test/run-unit-tests.py index e6f26c28219..1b0329644b8 100755 --- a/test/run-unit-tests.py +++ b/test/run-unit-tests.py @@ -42,7 +42,7 @@ if not opts.artifact_directory and os.getenv('ARTIFACT_DIRECTORY'): opts.artifact_directory = os.getenv('ARTIFACT_DIRECTORY') total.total = len(tests) -for test in tests: +for test in sorted(tests): name = os.path.basename(test) ex = subprocess.run(test, stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)