summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/StringTest.cmake.in
diff options
context:
space:
mode:
authorArtur Ryt <artur.ryt@gmail.com>2018-11-30 22:50:37 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 13:29:01 (GMT)
commitdda4755b467db297b04cc1678e0d7c6035ad4c2f (patch)
treebc35dcc0b1c7aff6381862d2028daf71b16a94ae /Tests/CMakeTests/StringTest.cmake.in
parent654fdd8374a4447dc65589eb55b39323384fbc60 (diff)
downloadCMake-dda4755b467db297b04cc1678e0d7c6035ad4c2f.zip
CMake-dda4755b467db297b04cc1678e0d7c6035ad4c2f.tar.gz
CMake-dda4755b467db297b04cc1678e0d7c6035ad4c2f.tar.bz2
cmMakefile: Fix ConfigureString not passing filename and line
It enables to use CMAKE_CURRENT_LIST_LINE in string(CONFIGURE) Added tests for it for ${} and @@ notattion for old CMP0053 and ${} for new
Diffstat (limited to 'Tests/CMakeTests/StringTest.cmake.in')
-rw-r--r--Tests/CMakeTests/StringTest.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/StringTest.cmake.in b/Tests/CMakeTests/StringTest.cmake.in
index 566f4b1..3e9327b 100644
--- a/Tests/CMakeTests/StringTest.cmake.in
+++ b/Tests/CMakeTests/StringTest.cmake.in
@@ -81,7 +81,7 @@ check_cmake_test(String
# Execute each test listed in StringTestScript.cmake:
#
set(scriptname "@CMAKE_CURRENT_SOURCE_DIR@/StringTestScript.cmake")
-set(number_of_tests_expected 70)
+set(number_of_tests_expected 73)
include("@CMAKE_CURRENT_SOURCE_DIR@/ExecuteScriptTests.cmake")
execute_all_script_tests(${scriptname} number_of_tests_executed)