mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00: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:
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)
|
||||
|
|
Loading…
Reference in a new issue