summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/string/cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-11-26 17:46:55 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-12-03 16:06:44 (GMT)
commit7878d06189e6ee11646fcad9851d5bc4d19a16e6 (patch)
tree261a3e3c7a4fa0e81287b19f088fe5ff326cc7c6 /Tests/RunCMake/string/cmake
parent3350e4d209b6a7ff758ca371af4d62844a66ab36 (diff)
downloadCMake-7878d06189e6ee11646fcad9851d5bc4d19a16e6.zip
CMake-7878d06189e6ee11646fcad9851d5bc4d19a16e6.tar.gz
CMake-7878d06189e6ee11646fcad9851d5bc4d19a16e6.tar.bz2
test: add a test for clearing regex results
Diffstat (limited to 'Tests/RunCMake/string/cmake')
-rw-r--r--Tests/RunCMake/string/cmake/Finddummy.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/string/cmake/Finddummy.cmake b/Tests/RunCMake/string/cmake/Finddummy.cmake
new file mode 100644
index 0000000..4cbc1fb
--- /dev/null
+++ b/Tests/RunCMake/string/cmake/Finddummy.cmake
@@ -0,0 +1,4 @@
+check_for_success("making a match inside of find_package")
+do_regex_failure("making a failure inside of find_package")
+
+set(dummy_FOUND 1)