summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-23 13:09:48 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-02-23 13:09:59 (GMT)
commitc2c31ae8969686f1909fe76fef43a232332c7b54 (patch)
treeaa835b364f95f281d1fdd470729d2c29ae0c9300 /Tests
parent65b70406d905fe6ef02f28c32d5f6dfd8d6b6c54 (diff)
parent74fe16a292e0facf9f2d4f943247d011390694a9 (diff)
downloadCMake-c2c31ae8969686f1909fe76fef43a232332c7b54.zip
CMake-c2c31ae8969686f1909fe76fef43a232332c7b54.tar.gz
CMake-c2c31ae8969686f1909fe76fef43a232332c7b54.tar.bz2
Merge topic 'test-ExternalProject-CONFIGURE_HANDLED_BY_BUILD' into release-3.20
74fe16a292 Tests: Fix ExternalProject CONFIGURE_HANDLED_BY_BUILD on 1s filesystems Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5838
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/ExternalProject/CONFIGURE_HANDLED_BY_BUILD.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/ExternalProject/CONFIGURE_HANDLED_BY_BUILD.cmake b/Tests/RunCMake/ExternalProject/CONFIGURE_HANDLED_BY_BUILD.cmake
index c86a60e..6dbf0f4 100644
--- a/Tests/RunCMake/ExternalProject/CONFIGURE_HANDLED_BY_BUILD.cmake
+++ b/Tests/RunCMake/ExternalProject/CONFIGURE_HANDLED_BY_BUILD.cmake
@@ -11,7 +11,7 @@ ExternalProject_Add(proj1
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E echo "Doing something"
# file(TIMESTAMP) gives back the timestamp in seconds so we sleep a second to
# make sure we get a different timestamp on the stamp file
- BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1
+ BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1.125
INSTALL_COMMAND ""
BUILD_ALWAYS ON
STAMP_DIR "stamp"
@@ -20,7 +20,7 @@ ExternalProject_Add(proj2
DOWNLOAD_COMMAND ""
SOURCE_DIR ""
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E echo "Doing something"
- BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1
+ BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1.125
INSTALL_COMMAND ""
CONFIGURE_HANDLED_BY_BUILD ON
DEPENDS proj1