diff options
author | David Cole <david.cole@kitware.com> | 2009-10-15 15:51:13 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-10-15 15:51:13 (GMT) |
commit | f1e6726668d76752e9d0d84e77ab81f702b39ea6 (patch) | |
tree | ffddd9b524d35de1bf6ccdb76fbe2cc7fd254cab /Tests | |
parent | 886ae02356c9bfacb340a4317b8f26ffea4db4e9 (diff) | |
download | CMake-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.txt | 7 |
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) |