From f1e6726668d76752e9d0d84e77ab81f702b39ea6 Mon Sep 17 00:00:00 2001 From: David Cole Date: Thu, 15 Oct 2009 11:51:13 -0400 Subject: Add LABELS to the SmallAndFast test project to increase coverage of ctest code that is only invoked when labels are present. --- Tests/CTestTest/SmallAndFast/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- cgit v0.12