Tests: Drop use of legacy "Dart" module
Use the CTest module directly.
This commit is contained in:
parent
38c0205cdd
commit
2fc3b0f476
@ -241,10 +241,6 @@ macro(CMAKE_SETUP_TESTING)
|
|||||||
configure_file(Tests/.NoDartCoverage Tests/.NoDartCoverage)
|
configure_file(Tests/.NoDartCoverage Tests/.NoDartCoverage)
|
||||||
configure_file(Tests/.NoDartCoverage Modules/.NoDartCoverage)
|
configure_file(Tests/.NoDartCoverage Modules/.NoDartCoverage)
|
||||||
configure_file(CTestCustom.cmake.in CTestCustom.cmake @ONLY)
|
configure_file(CTestCustom.cmake.in CTestCustom.cmake @ONLY)
|
||||||
if(BUILD_TESTING AND DART_ROOT)
|
|
||||||
configure_file(CMakeLogo.gif Testing/HTML/TestingResults/Icons/Logo.gif COPYONLY)
|
|
||||||
endif()
|
|
||||||
mark_as_advanced(DART_ROOT)
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
|
||||||
@ -361,9 +357,7 @@ endif()
|
|||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
include(Source/CMakeVersion.cmake)
|
include(Source/CMakeVersion.cmake)
|
||||||
|
|
||||||
# Include the standard Dart testing module
|
include(CTest)
|
||||||
enable_testing()
|
|
||||||
include(${CMAKE_ROOT}/Modules/Dart.cmake)
|
|
||||||
|
|
||||||
# Set up test-time configuration.
|
# Set up test-time configuration.
|
||||||
set_directory_properties(PROPERTIES
|
set_directory_properties(PROPERTIES
|
||||||
|
Loading…
Reference in New Issue
Block a user