summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-06-06 08:28:18 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-06-06 08:28:18 (GMT)
commit887532f0f097fc90f481174ba7cfa08bde9d9195 (patch)
treebab78fc7e33b05b7bcebde873a8bf0c603bca32e /Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in
parent47cde18849201c3b58479d38725b554f3ad34eaf (diff)
downloadCMake-887532f0f097fc90f481174ba7cfa08bde9d9195.zip
CMake-887532f0f097fc90f481174ba7cfa08bde9d9195.tar.gz
CMake-887532f0f097fc90f481174ba7cfa08bde9d9195.tar.bz2
CTest: Fix combined inclusive/exclusive label regular expressions
Diffstat (limited to 'Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in')
-rw-r--r--Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in b/Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in
new file mode 100644
index 0000000..657f382
--- /dev/null
+++ b/Tests/CTestTestLabelRegExp/CTestTestfile.cmake.in
@@ -0,0 +1,8 @@
+add_test(test1 ${CMAKE_COMMAND} -E echo test1)
+set_tests_properties(test1 PROPERTIES LABELS "foo")
+
+add_test(test2 ${CMAKE_COMMAND} -E echo test2)
+set_tests_properties(test2 PROPERTIES LABELS "bar")
+
+add_test(test3 ${CMAKE_COMMAND} -E echo test3)
+set_tests_properties(test3 PROPERTIES LABELS "foo;bar")