summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/AndroidTestUtilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-27 09:26:21 -0400
committerCraig Scott <craig.scott@crascit.com>2020-07-28 08:04:11 +1000
commit5fc5f4d26ed0736f4023d1aa1de2aa24d4df15af (patch)
treed315e0d18b95daeea9374e40af817b8bc277bf0c /Tests/RunCMake/AndroidTestUtilities
parent16327086f020e5a2f4267e327e27b50b73e131ca (diff)
downloadcmake-5fc5f4d26ed0736f4023d1aa1de2aa24d4df15af.tar.gz
add_test: Revert "Allow special characters in test name"
Revert commit f84af8e270 (add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2). Unfortunately the fix breaks projects that were working around the limitation with manual escaping. The fix can be re-introduced with a policy in a future version. Also add a 3.18.1 release note explaining the change. Fixes: #21017, #20965 Issue: #19391
Diffstat (limited to 'Tests/RunCMake/AndroidTestUtilities')
-rw-r--r--Tests/RunCMake/AndroidTestUtilities/check.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/AndroidTestUtilities/check.cmake b/Tests/RunCMake/AndroidTestUtilities/check.cmake
index c24a3cd6f7..ccd4d74dd9 100644
--- a/Tests/RunCMake/AndroidTestUtilities/check.cmake
+++ b/Tests/RunCMake/AndroidTestUtilities/check.cmake
@@ -13,7 +13,7 @@ function(compare_build_to_expected)
endfunction()
function(check_for_setup_test)
- file(STRINGS "${RunCMake_TEST_BINARY_DIR}/CTestTestfile.cmake" output_var REGEX "add_test\\(\"setup_test\".*")
+ file(STRINGS "${RunCMake_TEST_BINARY_DIR}/CTestTestfile.cmake" output_var REGEX "add_test\\(setup_test.*")
if(NOT output_var)
set(RunCMake_TEST_FAILED "Could not find the test: setup_test" PARENT_SCOPE)
endif()