Skip to content
Snippets Groups Projects
Commit 56135536 authored by Jens Georg's avatar Jens Georg
Browse files

Re-build EXECLIST for each subdir

Otherwise it will run all tests in all dirs it finds
parent 88a1e13b
No related branches found
No related tags found
No related merge requests found
......@@ -240,8 +240,8 @@ def doValgrind(String label, String buildType) {
cd /scratch/build-${parentJob}
EXECLIST=""
for testlist in `find -name CTestTestfile.cmake` ; do
EXECLIST=""
dir=`dirname "\${testlist}"`
for test in `grep add_test "\${testlist}" | sed -e 's_^[^"]*"__' -e 's/")\$//'` ; do
# \${test} is just the name of the test executable, without add_test etc.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment