projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14300cd
)
test/run-unit-tests: sort the test cases we're executing
author
Ross Burton
<ross.burton@arm.com>
Mon, 11 Mar 2024 13:59:55 +0000
(13:59 +0000)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Mon, 11 Mar 2024 18:11:30 +0000
(18:11 +0000)
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>
test/run-unit-tests.py
patch
|
blob
|
history
diff --git
a/test/run-unit-tests.py
b/test/run-unit-tests.py
index e6f26c2821928bbec0f23f96388a1090a023d9a4..1b0329644b85b28dd16ef92b18ba976c5aa254a3 100755
(executable)
--- 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)