summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-16 14:16:54 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-16 14:17:14 (GMT)
commit148af75e86051b68eff4b7f6c816a244309cd549 (patch)
tree97c080408b35de1008b5104c1dd9f87b0ce2cea2
parent403af46bfe39444e60abc63c251b86de5cbcccbd (diff)
parentedb833d69e75e56cd55f6f8a39f81caec468c9bf (diff)
downloadCMake-148af75e86051b68eff4b7f6c816a244309cd549.zip
CMake-148af75e86051b68eff4b7f6c816a244309cd549.tar.gz
CMake-148af75e86051b68eff4b7f6c816a244309cd549.tar.bz2
Merge topic 'ci-test-CommandLength' into release-3.28
edb833d69e Tests/CommandLength: Refactor test commands to reduce test run time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9256
-rw-r--r--Tests/CommandLength/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CommandLength/CMakeLists.txt b/Tests/CommandLength/CMakeLists.txt
index 6836051..8d75172 100644
--- a/Tests/CommandLength/CMakeLists.txt
+++ b/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}
)