summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Snyder <joe.snyder@kitware.com>2014-08-13 22:03:53 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-20 15:13:25 (GMT)
commit3cd2e0e2d5d92266da57fabe6b4435dcf528ca1f (patch)
tree3077eb30df9ae240721900c42c922fc326183e81 /Tests/CMakeLists.txt
parentbf7d21b0cd7bfad2469a4ae337056a754e6b0fe5 (diff)
downloadCMake-3cd2e0e2d5d92266da57fabe6b4435dcf528ca1f.zip
CMake-3cd2e0e2d5d92266da57fabe6b4435dcf528ca1f.tar.gz
CMake-3cd2e0e2d5d92266da57fabe6b4435dcf528ca1f.tar.bz2
Tests: Fix DelphiCoverage test file selection
The HTML file for the Delphi Code coverage was being found by the Dashboard coverage run of CMake itself. Switch it to be a configured file to eliminate this extra reading.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 3f28c25..ae61bca 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -2587,8 +2587,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
"${CMake_BINARY_DIR}/Testing/DelphiCoverage/DartConfiguration.tcl")
file(COPY "${CMake_SOURCE_DIR}/Tests/DelphiCoverage/src"
DESTINATION "${CMake_BINARY_DIR}/Testing/DelphiCoverage")
- file(COPY "${CMake_SOURCE_DIR}/Tests/DelphiCoverage/UTCovTest(UTCovTest.pas).html"
- DESTINATION "${CMake_BINARY_DIR}/Testing/DelphiCoverage")
+ configure_file(
+ "${CMake_SOURCE_DIR}/Tests/DelphiCoverage/UTCovTest(UTCovTest.pas).html.in"
+ "${CMake_BINARY_DIR}/Testing/DelphiCoverage/UTCovTest(UTCovTest.pas).html")
add_test(NAME CTestDelphiCoverage
COMMAND cmake -E chdir
${CMake_BINARY_DIR}/Testing/DelphiCoverage