diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2015-01-28 22:08:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-03 15:40:58 (GMT) |
commit | 8caa4e72abe4393914f4dcefd1621d3c86a7d139 (patch) | |
tree | 8049f1beaa5c0e461d50913c400c19f74c87155d /Tests/CMakeLists.txt | |
parent | 5c828cc89b4f78eceaf0402719cf5693a6627935 (diff) | |
download | CMake-8caa4e72abe4393914f4dcefd1621d3c86a7d139.zip CMake-8caa4e72abe4393914f4dcefd1621d3c86a7d139.tar.gz CMake-8caa4e72abe4393914f4dcefd1621d3c86a7d139.tar.bz2 |
CTestCoverageCollectGCOV: Add test case
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 3aecd9b..1a79854 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2269,6 +2269,18 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release PASS_REGULAR_EXPRESSION "Upload\\.xml") configure_file( + "${CMake_SOURCE_DIR}/Tests/CTestCoverageCollectGCOV/test.cmake.in" + "${CMake_BINARY_DIR}/Tests/CTestCoverageCollectGCOV/test.cmake" + @ONLY ESCAPE_QUOTES) + add_test(CTestCoverageCollectGCOV ${CMAKE_CTEST_COMMAND} + -S "${CMake_BINARY_DIR}/Tests/CTestCoverageCollectGCOV/test.cmake" -VV + --output-log "${CMake_BINARY_DIR}/Tests/CTestCoverageCollectGCOV/testOut.log" + ) + set_tests_properties(CTestCoverageCollectGCOV PROPERTIES + PASS_REGULAR_EXPRESSION + "PASSED with correct output.*Testing/CoverageInfo/echoargs.gcov") + + configure_file( "${CMake_SOURCE_DIR}/Tests/CTestTestEmptyBinaryDirectory/test.cmake.in" "${CMake_BINARY_DIR}/Tests/CTestTestEmptyBinaryDirectory/test.cmake" @ONLY ESCAPE_QUOTES) |