ctest_sleep
спит некоторое время
ctest_sleep(<seconds>)
Засыпает на заданное количество секунд.
ctest_sleep(<time1> <duration> <time2>)
Засыпает на t=(time1 + duration - time2) секунд, если t > 0.
© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/command/ctest_sleep.html