[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.128 1.129
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 15 12:07:16 EDT 2009
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv6266/Tests
Modified Files:
CMakeLists.txt
Log Message:
Use LABELS in some ctest_coverage calls to increase coverage in cmCTestCoverageHandler.cxx.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.128
retrieving revision 1.129
diff -C 2 -d -r1.128 -r1.129
*** CMakeLists.txt 15 Oct 2009 11:38:51 -0000 1.128
--- CMakeLists.txt 15 Oct 2009 16:07:12 -0000 1.129
***************
*** 1136,1140 ****
--- 1136,1151 ----
set(regex "${regex}|Submission method .xmlrpc. not compiled into CTest)")
+ set(ctest_coverage_labels_args "")
+
foreach(drop_method cp ftp http https scp xmlrpc)
+ # Cycle through these values each time through the loop:
+ if(ctest_coverage_labels_args STREQUAL "")
+ set(ctest_coverage_labels_args "LABELS Everything")
+ elseif(ctest_coverage_labels_args STREQUAL "LABELS Everything")
+ set(ctest_coverage_labels_args "LABELS 0ArgTest")
+ else()
+ set(ctest_coverage_labels_args "")
+ endif()
+
add_failed_submit_test(CTestTestFailedSubmit-${drop_method}
"${CMake_SOURCE_DIR}/Tests/CTestTest/SmallAndFast"
More information about the Cmake-commits
mailing list