CMAKE_CTEST_ARGUMENTS

From Get docs
Cmake/docs/3.21/variable/cmake ctest arguments


CMAKE_CTEST_ARGUMENTS

New in version 3.17.


Set this to a semicolon-separated list of command-line arguments to pass to ctest(1) when running tests through the test (or RUN_TESTS) target of the generated build system.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_CTEST_ARGUMENTS.html