summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/AndroidTestUtilities/check.cmake
diff options
context:
space:
mode:
authorDeniz Bahadir <dbahadir@benocs.com>2020-05-15 23:52:34 (GMT)
committerDeniz Bahadir <dbahadir@benocs.com>2020-05-17 08:53:14 (GMT)
commitf84af8e270f33e55af4d731510f6ae5eaaddcb5f (patch)
tree651842648a61a0d1d8b8affa5f73323c518bdc8d /Tests/RunCMake/AndroidTestUtilities/check.cmake
parentec1b3992dbfb54edb777988766440295f1f1f1d3 (diff)
downloadCMake-f84af8e270f33e55af4d731510f6ae5eaaddcb5f.zip
CMake-f84af8e270f33e55af4d731510f6ae5eaaddcb5f.tar.gz
CMake-f84af8e270f33e55af4d731510f6ae5eaaddcb5f.tar.bz2
add_test: Allow special characters in test name
Fixes: #19391
Diffstat (limited to 'Tests/RunCMake/AndroidTestUtilities/check.cmake')
-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 ccd4d74..c24a3cd 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()