summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-03-11 14:59:55 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-03-11 19:11:30 +0100
commit4a052a718aa83440d728556455fd42669a88a4dd (patch)
tree68c1d0961c060ab9cb3c4b39f335107b8006ed66
parentpolkit: update the rest of bus_verify_polkit_async_full() calls to new flags ... (diff)
downloadsystemd-4a052a718aa83440d728556455fd42669a88a4dd.tar.xz
systemd-4a052a718aa83440d728556455fd42669a88a4dd.zip
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 <ross.burton@arm.com>
-rwxr-xr-xtest/run-unit-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run-unit-tests.py b/test/run-unit-tests.py
index e6f26c2821..1b0329644b 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)