[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 15 11:51:16 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTest/SmallAndFast
In directory public:/mounts/ram/cvs-serv25725/Tests/CTestTest/SmallAndFast

Modified Files:
	CMakeLists.txt 
Log Message:
Add LABELS to the SmallAndFast test project to increase coverage of ctest code that is only invoked when labels are present.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestTest/SmallAndFast/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeLists.txt	8 Oct 2009 16:17:03 -0000	1.1
--- CMakeLists.txt	15 Oct 2009 15:51:13 -0000	1.2
***************
*** 5,10 ****
--- 5,17 ----
  
  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)



More information about the Cmake-commits mailing list