mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 19:20:10 -06:00
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.
This commit is contained in:
@@ -2587,8 +2587,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
|
|||||||
"${CMake_BINARY_DIR}/Testing/DelphiCoverage/DartConfiguration.tcl")
|
"${CMake_BINARY_DIR}/Testing/DelphiCoverage/DartConfiguration.tcl")
|
||||||
file(COPY "${CMake_SOURCE_DIR}/Tests/DelphiCoverage/src"
|
file(COPY "${CMake_SOURCE_DIR}/Tests/DelphiCoverage/src"
|
||||||
DESTINATION "${CMake_BINARY_DIR}/Testing/DelphiCoverage")
|
DESTINATION "${CMake_BINARY_DIR}/Testing/DelphiCoverage")
|
||||||
file(COPY "${CMake_SOURCE_DIR}/Tests/DelphiCoverage/UTCovTest(UTCovTest.pas).html"
|
configure_file(
|
||||||
DESTINATION "${CMake_BINARY_DIR}/Testing/DelphiCoverage")
|
"${CMake_SOURCE_DIR}/Tests/DelphiCoverage/UTCovTest(UTCovTest.pas).html.in"
|
||||||
|
"${CMake_BINARY_DIR}/Testing/DelphiCoverage/UTCovTest(UTCovTest.pas).html")
|
||||||
add_test(NAME CTestDelphiCoverage
|
add_test(NAME CTestDelphiCoverage
|
||||||
COMMAND cmake -E chdir
|
COMMAND cmake -E chdir
|
||||||
${CMake_BINARY_DIR}/Testing/DelphiCoverage
|
${CMake_BINARY_DIR}/Testing/DelphiCoverage
|
||||||
|
|||||||
Reference in New Issue
Block a user