set_tests_properties
From Get docs
Cmake/docs/3.21/command/set tests properties
set_tests_properties
Set a property of the tests.
set_tests_properties(test1 [test2...] PROPERTIES prop1 value1 prop2 value2)
Sets a property for the tests. If the test is not found, CMake will report an error. Generator expressions will be expanded the same as supported by the test's add_test() call.
See also the set_property(TEST) command.
See Properties on Tests for the list of properties known to CMake.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/command/set_tests_properties.html