Browse Source

Merge topic 'ci-test-CommandLength' into release-3.29

edb833d69e Tests/CommandLength: Refactor test commands to reduce test run time

Acked-by: Kitware Robot <[email protected]>
Acked-by: buildbot <[email protected]>
Merge-request: !9256
Brad King 1 year ago
parent
commit
01e6cfc1f1
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Tests/CommandLength/CMakeLists.txt

+ 4 - 1
Tests/CommandLength/CMakeLists.txt

@@ -10,7 +10,10 @@ set(msg "${msg} ${msg}")
 set(msg "${msg} ${msg}")
 set(msg "${msg} ${msg}")
 set(msg "${msg} ${msg}")
-foreach(i RANGE 1 1000)
+set(msg "${msg} ${msg}")
+set(msg "${msg} ${msg}")
+set(msg "${msg} ${msg}")
+foreach(i RANGE 1 125)
   add_custom_command(TARGET CommandLength POST_BUILD VERBATIM
     COMMAND ${CMAKE_COMMAND} -E echo "${i} ${msg}" > log/${i}
     )