Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbea1ef
)
Sort tests by name
author
Cédric Aguerre
<cedric.aguerre@edf.fr>
Mon, 17 Feb 2020 13:50:25 +0000
(14:50 +0100)
committer
Cédric Aguerre
<cedric.aguerre@edf.fr>
Mon, 17 Feb 2020 13:50:25 +0000
(14:50 +0100)
bin/appli_gen.py
patch
|
blob
|
history
diff --git
a/bin/appli_gen.py
b/bin/appli_gen.py
index 98acd79f8327e9c3c8886c5979a6a6d225628217..f42b4dbcdf13cd61104ac8e1dc1ff38eb4091172 100755
(executable)
--- a/
bin/appli_gen.py
+++ b/
bin/appli_gen.py
@@
-255,6
+255,13
@@
def install(prefix, config_file, verbose=0):
pass
pass
+ # Sort test labels by name in generated CTestTestfile.cmake
+ with open(ctest_file) as f:
+ lines = f.readlines()
+ lines.sort()
+ with open(ctest_file, "w") as f:
+ f.write("".join(lines))
+
# Generate CTestCustom.cmake to handle long output
ctest_custom = os.path.join(home_dir, 'bin', 'salome', 'test', "CTestCustom.cmake")
with open(ctest_custom, 'w') as f: