summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-10-15 15:51:13 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-10-15 15:51:13 (GMT)
commitf1e6726668d76752e9d0d84e77ab81f702b39ea6 (patch)
treeffddd9b524d35de1bf6ccdb76fbe2cc7fd254cab /Tests
parent886ae02356c9bfacb340a4317b8f26ffea4db4e9 (diff)
downloadCMake-f1e6726668d76752e9d0d84e77ab81f702b39ea6.zip
CMake-f1e6726668d76752e9d0d84e77ab81f702b39ea6.tar.gz
CMake-f1e6726668d76752e9d0d84e77ab81f702b39ea6.tar.bz2
Add LABELS to the SmallAndFast test project to increase coverage of ctest code that is only invoked when labels are present.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CTestTest/SmallAndFast/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CTestTest/SmallAndFast/CMakeLists.txt b/Tests/CTestTest/SmallAndFast/CMakeLists.txt
index 51aa887..ee608c0 100644
--- a/Tests/CTestTest/SmallAndFast/CMakeLists.txt
+++ b/Tests/CTestTest/SmallAndFast/CMakeLists.txt
@@ -4,7 +4,14 @@ project(SmallAndFast)
include(CTest)
add_executable(echoargs echoargs.c)
+set_property(SOURCE echoargs.c APPEND PROPERTY LABELS SourceLabel Everything)
+set_property(TARGET echoargs APPEND PROPERTY LABELS TargetLabel Everything)
add_test(test0 echoargs)
+set_property(TEST test0 APPEND PROPERTY LABELS TestLabel 0ArgTest Everything)
+
add_test(test1 echoargs 1)
+set_property(TEST test1 APPEND PROPERTY LABELS TestLabel 1ArgTest Everything)
+
add_test(test2 echoargs 1 2)
+set_property(TEST test2 APPEND PROPERTY LABELS TestLabel 2ArgTest Everything)