diff options
author | Ross Burton <ross.burton@arm.com> | 2024-03-11 14:59:55 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-03-11 19:11:30 +0100 |
commit | 4a052a718aa83440d728556455fd42669a88a4dd (patch) | |
tree | 68c1d0961c060ab9cb3c4b39f335107b8006ed66 /test/run-unit-tests.py | |
parent | polkit: update the rest of bus_verify_polkit_async_full() calls to new flags ... (diff) | |
download | systemd-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>
Diffstat (limited to 'test/run-unit-tests.py')
-rwxr-xr-x | test/run-unit-tests.py | 2 |
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) |