mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
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>
This commit is contained in:
committed by
Luca Boccassi
parent
14300cdde4
commit
4a052a718a
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user