mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-20 06:00:30 -06:00
Restore the change from commitf84af8e270(add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2) that had to be reverted by commitf84af8e270(add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2) for compatibility. Add policy CMP0110 to make the change in a compatible way. Also, support even more characters than before by generating the test scripts using bracket arguments around the test names. Fixes: #19391 Signed-off-by: Deniz Bahadir <dbahadir@benocs.com>
4 lines
118 B
CMake
4 lines
118 B
CMake
if(NOT DEFINED ENV{CMAKE_add_test_ENVVAR})
|
|
message(FATAL_ERROR "Setting property on test did not succeed!")
|
|
endif()
|