Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables
s/CMAKE_TEST_GENERATOR/CMAKE_GENERATOR/g
This commit is contained in:
parent
76477267bd
commit
9f5bd180c8
|
@ -114,9 +114,6 @@ endif()
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
macro(CMAKE_SETUP_TESTING)
|
macro(CMAKE_SETUP_TESTING)
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
set(CMAKE_TEST_GENERATOR "${CMAKE_GENERATOR}")
|
|
||||||
set(CMAKE_TEST_GENERATOR_TOOLSET "${CMAKE_GENERATOR_TOOLSET}")
|
|
||||||
|
|
||||||
set(CMAKE_TEST_SYSTEM_LIBRARIES 0)
|
set(CMAKE_TEST_SYSTEM_LIBRARIES 0)
|
||||||
foreach(util CURL EXPAT XMLRPC ZLIB)
|
foreach(util CURL EXPAT XMLRPC ZLIB)
|
||||||
if(CMAKE_USE_SYSTEM_${util})
|
if(CMAKE_USE_SYSTEM_${util})
|
||||||
|
@ -547,7 +544,7 @@ endif()
|
||||||
|
|
||||||
# add a test
|
# add a test
|
||||||
add_test(SystemInformationNew "${CMAKE_CMAKE_COMMAND}"
|
add_test(SystemInformationNew "${CMAKE_CMAKE_COMMAND}"
|
||||||
--system-information -G "${CMAKE_TEST_GENERATOR}" )
|
--system-information -G "${CMAKE_GENERATOR}" )
|
||||||
|
|
||||||
# Install license file as it requires.
|
# Install license file as it requires.
|
||||||
install(FILES Copyright.txt DESTINATION ${CMAKE_DOC_DIR})
|
install(FILES Copyright.txt DESTINATION ${CMAKE_DOC_DIR})
|
||||||
|
|
|
@ -11,8 +11,8 @@ file(REMOVE "@CMAKE_BUILD_TEST_SOURCE_DIR@/CMakeCache.txt")
|
||||||
message("running: ${CMAKE_COMMAND}")
|
message("running: ${CMAKE_COMMAND}")
|
||||||
execute_process(COMMAND "${CMAKE_COMMAND}"
|
execute_process(COMMAND "${CMAKE_COMMAND}"
|
||||||
"@CMAKE_BUILD_TEST_SOURCE_DIR@"
|
"@CMAKE_BUILD_TEST_SOURCE_DIR@"
|
||||||
"-G@CMAKE_TEST_GENERATOR@"
|
"-G@CMAKE_GENERATOR@"
|
||||||
-T "@CMAKE_TEST_GENERATOR_TOOLSET@"
|
-T "@CMAKE_GENERATOR_TOOLSET@"
|
||||||
WORKING_DIRECTORY "@CMAKE_BUILD_TEST_BINARY_DIR@"
|
WORKING_DIRECTORY "@CMAKE_BUILD_TEST_BINARY_DIR@"
|
||||||
RESULT_VARIABLE RESULT)
|
RESULT_VARIABLE RESULT)
|
||||||
if(RESULT)
|
if(RESULT)
|
||||||
|
|
|
@ -46,18 +46,18 @@ configure_file(${CMake_SOURCE_DIR}/Tests/EnforceConfig.cmake.in
|
||||||
# Testing
|
# Testing
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
set(CMake_TEST_DEVENV "")
|
set(CMake_TEST_DEVENV "")
|
||||||
if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio [7-9] " AND
|
if(CMAKE_GENERATOR MATCHES "Visual Studio [7-9] " AND
|
||||||
NOT CMAKE_MAKE_PROGRAM MATCHES "[mM][sS][bB][uU][iI][lL][dD]\\.[eE][xX][eE]")
|
NOT CMAKE_MAKE_PROGRAM MATCHES "[mM][sS][bB][uU][iI][lL][dD]\\.[eE][xX][eE]")
|
||||||
set(CMake_TEST_DEVENV "${CMAKE_MAKE_PROGRAM}")
|
set(CMake_TEST_DEVENV "${CMAKE_MAKE_PROGRAM}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio")
|
if(CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||||
set(CMake_TEST_EXPLICIT_MAKE_PROGRAM "")
|
set(CMake_TEST_EXPLICIT_MAKE_PROGRAM "")
|
||||||
else()
|
else()
|
||||||
set(CMake_TEST_EXPLICIT_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}")
|
set(CMake_TEST_EXPLICIT_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Unix Makefiles" OR ("${CMAKE_TEST_GENERATOR}" MATCHES Ninja AND NOT WIN32))
|
if("${CMAKE_GENERATOR}" MATCHES "Unix Makefiles" OR ("${CMAKE_GENERATOR}" MATCHES Ninja AND NOT WIN32))
|
||||||
set(TEST_CompileCommandOutput 1)
|
set(TEST_CompileCommandOutput 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -75,18 +75,18 @@ if(BUILD_TESTING)
|
||||||
# some old versions of make simply cannot handle spaces in paths
|
# some old versions of make simply cannot handle spaces in paths
|
||||||
if (MAKE_IS_GNU OR
|
if (MAKE_IS_GNU OR
|
||||||
CMAKE_MAKE_PROGRAM MATCHES "nmake|gmake|wmake" OR
|
CMAKE_MAKE_PROGRAM MATCHES "nmake|gmake|wmake" OR
|
||||||
CMAKE_TEST_GENERATOR MATCHES "Visual Studio|XCode|Borland")
|
CMAKE_GENERATOR MATCHES "Visual Studio|XCode|Borland")
|
||||||
set(MAKE_SUPPORTS_SPACES 1)
|
set(MAKE_SUPPORTS_SPACES 1)
|
||||||
else()
|
else()
|
||||||
set(MAKE_SUPPORTS_SPACES 0)
|
set(MAKE_SUPPORTS_SPACES 0)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(build_generator_args
|
set(build_generator_args
|
||||||
--build-generator ${CMAKE_TEST_GENERATOR}
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
)
|
)
|
||||||
if(CMAKE_TEST_GENERATOR_TOOLSET)
|
if(CMAKE_GENERATOR_TOOLSET)
|
||||||
list(APPEND build_generator_args
|
list(APPEND build_generator_args
|
||||||
--build-generator-toolset ${CMAKE_TEST_GENERATOR_TOOLSET}
|
--build-generator-toolset ${CMAKE_GENERATOR_TOOLSET}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -198,8 +198,8 @@ if(BUILD_TESTING)
|
||||||
set(TEST_RESOURCES TRUE)
|
set(TEST_RESOURCES TRUE)
|
||||||
endif()
|
endif()
|
||||||
# for borland and watcom there is no resource support
|
# for borland and watcom there is no resource support
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "WMake" OR
|
if("${CMAKE_GENERATOR}" MATCHES "WMake" OR
|
||||||
"${CMAKE_TEST_GENERATOR}" MATCHES "Borland")
|
"${CMAKE_GENERATOR}" MATCHES "Borland")
|
||||||
set(TEST_RESOURCES FALSE)
|
set(TEST_RESOURCES FALSE)
|
||||||
endif()
|
endif()
|
||||||
if(TEST_RESOURCES)
|
if(TEST_RESOURCES)
|
||||||
|
@ -275,7 +275,7 @@ if(BUILD_TESTING)
|
||||||
ADD_TEST_MACRO(CrossCompile CrossCompile)
|
ADD_TEST_MACRO(CrossCompile CrossCompile)
|
||||||
set_tests_properties(CrossCompile PROPERTIES
|
set_tests_properties(CrossCompile PROPERTIES
|
||||||
PASS_REGULAR_EXPRESSION "TRY_RUN.. invoked in cross-compiling mode")
|
PASS_REGULAR_EXPRESSION "TRY_RUN.. invoked in cross-compiling mode")
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Make")
|
if("${CMAKE_GENERATOR}" MATCHES "Make")
|
||||||
ADD_TEST_MACRO(Policy0002 Policy0002)
|
ADD_TEST_MACRO(Policy0002 Policy0002)
|
||||||
endif()
|
endif()
|
||||||
if(CTEST_TEST_OSX_ARCH)
|
if(CTEST_TEST_OSX_ARCH)
|
||||||
|
@ -314,7 +314,7 @@ if(BUILD_TESTING)
|
||||||
MINGW OR
|
MINGW OR
|
||||||
CMAKE_SYSTEM_NAME MATCHES "Linux" OR
|
CMAKE_SYSTEM_NAME MATCHES "Linux" OR
|
||||||
CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||||
if(NOT "${CMAKE_TEST_GENERATOR}" STREQUAL "Watcom WMake")
|
if(NOT "${CMAKE_GENERATOR}" STREQUAL "Watcom WMake")
|
||||||
|
|
||||||
add_test(BundleUtilities ${CMAKE_CTEST_COMMAND}
|
add_test(BundleUtilities ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
|
@ -465,7 +465,7 @@ if(BUILD_TESTING)
|
||||||
# build the "Simple" test with the ExtraGenerators, if available
|
# build the "Simple" test with the ExtraGenerators, if available
|
||||||
# This doesn't test whether the generated project files work (unfortunately),
|
# This doesn't test whether the generated project files work (unfortunately),
|
||||||
# mainly it tests that cmake doesn't crash when generating these project files.
|
# mainly it tests that cmake doesn't crash when generating these project files.
|
||||||
if(${CMAKE_TEST_GENERATOR} MATCHES "Unix Makefiles" OR ${CMAKE_TEST_GENERATOR} MATCHES "KDevelop")
|
if(${CMAKE_GENERATOR} MATCHES "Unix Makefiles" OR ${CMAKE_GENERATOR} MATCHES "KDevelop")
|
||||||
# check which generators we have
|
# check which generators we have
|
||||||
execute_process(COMMAND ${CMAKE_CMAKE_COMMAND} --help
|
execute_process(COMMAND ${CMAKE_CMAKE_COMMAND} --help
|
||||||
OUTPUT_VARIABLE cmakeOutput ERROR_VARIABLE cmakeOutput)
|
OUTPUT_VARIABLE cmakeOutput ERROR_VARIABLE cmakeOutput)
|
||||||
|
@ -477,7 +477,7 @@ if(BUILD_TESTING)
|
||||||
"${CMake_BINARY_DIR}/Tests/Simple_EclipseGenerator"
|
"${CMake_BINARY_DIR}/Tests/Simple_EclipseGenerator"
|
||||||
--build-two-config
|
--build-two-config
|
||||||
--build-generator "Eclipse CDT4 - Unix Makefiles"
|
--build-generator "Eclipse CDT4 - Unix Makefiles"
|
||||||
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
--build-project Simple
|
--build-project Simple
|
||||||
--build-options ${build_options}
|
--build-options ${build_options}
|
||||||
--test-command Simple)
|
--test-command Simple)
|
||||||
|
@ -492,7 +492,7 @@ if(BUILD_TESTING)
|
||||||
"${CMake_BINARY_DIR}/Tests/Simple_CodeBlocksGenerator"
|
"${CMake_BINARY_DIR}/Tests/Simple_CodeBlocksGenerator"
|
||||||
--build-two-config
|
--build-two-config
|
||||||
--build-generator "CodeBlocks - Unix Makefiles"
|
--build-generator "CodeBlocks - Unix Makefiles"
|
||||||
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
--build-project Simple
|
--build-project Simple
|
||||||
--build-options ${build_options}
|
--build-options ${build_options}
|
||||||
--test-command Simple)
|
--test-command Simple)
|
||||||
|
@ -506,7 +506,7 @@ if(BUILD_TESTING)
|
||||||
"${CMake_BINARY_DIR}/Tests/Simple_KDevelop3Generator"
|
"${CMake_BINARY_DIR}/Tests/Simple_KDevelop3Generator"
|
||||||
--build-two-config
|
--build-two-config
|
||||||
--build-generator "KDevelop3 - Unix Makefiles"
|
--build-generator "KDevelop3 - Unix Makefiles"
|
||||||
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
--build-project Simple
|
--build-project Simple
|
||||||
--build-options ${build_options}
|
--build-options ${build_options}
|
||||||
--test-command Simple)
|
--test-command Simple)
|
||||||
|
@ -517,7 +517,7 @@ if(BUILD_TESTING)
|
||||||
|
|
||||||
# test for correct sub-project generation
|
# test for correct sub-project generation
|
||||||
# not implemented in VS 6, VS 7.0, Xcode, or Ninja
|
# not implemented in VS 6, VS 7.0, Xcode, or Ninja
|
||||||
if(NOT CMAKE_TEST_GENERATOR MATCHES "Visual Studio [67]$|Xcode|Ninja")
|
if(NOT CMAKE_GENERATOR MATCHES "Visual Studio [67]$|Xcode|Ninja")
|
||||||
# run cmake and configure all of SubProject
|
# run cmake and configure all of SubProject
|
||||||
# but only build the independent executable car
|
# but only build the independent executable car
|
||||||
add_test(SubProject ${CMAKE_CTEST_COMMAND}
|
add_test(SubProject ${CMAKE_CTEST_COMMAND}
|
||||||
|
@ -545,8 +545,8 @@ if(BUILD_TESTING)
|
||||||
--build-and-test
|
--build-and-test
|
||||||
"${CMake_SOURCE_DIR}/Tests/SubProject/foo"
|
"${CMake_SOURCE_DIR}/Tests/SubProject/foo"
|
||||||
"${CMake_BINARY_DIR}/Tests/SubProject/foo"
|
"${CMake_BINARY_DIR}/Tests/SubProject/foo"
|
||||||
--build-generator ${CMAKE_TEST_GENERATOR}
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
${SubProject-Stage2_BUILD_MAKEPROGRAM}
|
${SubProject-Stage2_BUILD_MAKEPROGRAM}
|
||||||
--build-nocmake
|
--build-nocmake
|
||||||
--build-project foo
|
--build-project foo
|
||||||
|
@ -995,7 +995,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
if(CTEST_RUN_CMakeTestBadCommandLines)
|
if(CTEST_RUN_CMakeTestBadCommandLines)
|
||||||
add_test(CMakeTestBadCommandLines ${CMAKE_CMAKE_COMMAND}
|
add_test(CMakeTestBadCommandLines ${CMAKE_CMAKE_COMMAND}
|
||||||
-D dir=${CMake_BINARY_DIR}/Tests/CMakeTestBadCommandLines
|
-D dir=${CMake_BINARY_DIR}/Tests/CMakeTestBadCommandLines
|
||||||
-D gen=${CMAKE_TEST_GENERATOR}
|
-D gen=${CMAKE_GENERATOR}
|
||||||
-D CMake_SOURCE_DIR=${CMake_SOURCE_DIR}
|
-D CMake_SOURCE_DIR=${CMake_SOURCE_DIR}
|
||||||
-P ${CMake_SOURCE_DIR}/Tests/CMakeTestBadCommandLines/RunCMake.cmake
|
-P ${CMake_SOURCE_DIR}/Tests/CMakeTestBadCommandLines/RunCMake.cmake
|
||||||
)
|
)
|
||||||
|
@ -1010,7 +1010,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
if(CTEST_RUN_CMakeTestMultipleConfigures)
|
if(CTEST_RUN_CMakeTestMultipleConfigures)
|
||||||
add_test(CMakeTestMultipleConfigures ${CMAKE_CMAKE_COMMAND}
|
add_test(CMakeTestMultipleConfigures ${CMAKE_CMAKE_COMMAND}
|
||||||
-D dir=${CMake_BINARY_DIR}/Tests/CMakeTestMultipleConfigures
|
-D dir=${CMake_BINARY_DIR}/Tests/CMakeTestMultipleConfigures
|
||||||
-D gen=${CMAKE_TEST_GENERATOR}
|
-D gen=${CMAKE_GENERATOR}
|
||||||
-D CMake_SOURCE_DIR=${CMake_SOURCE_DIR}
|
-D CMake_SOURCE_DIR=${CMake_SOURCE_DIR}
|
||||||
-P ${CMake_SOURCE_DIR}/Tests/CMakeTestMultipleConfigures/RunCMake.cmake
|
-P ${CMake_SOURCE_DIR}/Tests/CMakeTestMultipleConfigures/RunCMake.cmake
|
||||||
)
|
)
|
||||||
|
@ -1233,8 +1233,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
COMMAND ${CMAKE_CMAKE_COMMAND}
|
COMMAND ${CMAKE_CMAKE_COMMAND}
|
||||||
-DExternalProjectUpdate_SOURCE_DIR:PATH=${CMake_SOURCE_DIR}/Tests/ExternalProjectUpdate
|
-DExternalProjectUpdate_SOURCE_DIR:PATH=${CMake_SOURCE_DIR}/Tests/ExternalProjectUpdate
|
||||||
-DExternalProjectUpdate_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/ExternalProjectUpdate
|
-DExternalProjectUpdate_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/ExternalProjectUpdate
|
||||||
-DCMAKE_TEST_GENERATOR=${CMAKE_TEST_GENERATOR}
|
-DCMAKE_GENERATOR=${CMAKE_GENERATOR}
|
||||||
-DCMAKE_TEST_GENERATOR_TOOLSET=${CMAKE_TEST_GENERATOR_TOOLSET}
|
-DCMAKE_GENERATOR_TOOLSET=${CMAKE_GENERATOR_TOOLSET}
|
||||||
-DCMAKE_CTEST_COMMAND=${CMAKE_CTEST_COMMAND}
|
-DCMAKE_CTEST_COMMAND=${CMAKE_CTEST_COMMAND}
|
||||||
-P ${CMake_SOURCE_DIR}/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
|
-P ${CMake_SOURCE_DIR}/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
|
||||||
)
|
)
|
||||||
|
@ -1504,13 +1504,13 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
ADD_TEST_MACRO(PrecompiledHeader foo)
|
ADD_TEST_MACRO(PrecompiledHeader foo)
|
||||||
endif()
|
endif()
|
||||||
if(MSVC OR
|
if(MSVC OR
|
||||||
"${CMAKE_TEST_GENERATOR}" MATCHES "(MSYS|MinGW) Makefiles")
|
"${CMAKE_GENERATOR}" MATCHES "(MSYS|MinGW) Makefiles")
|
||||||
ADD_TEST_MACRO(ModuleDefinition example_exe)
|
ADD_TEST_MACRO(ModuleDefinition example_exe)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ADD_TEST_MACRO(CheckCompilerRelatedVariables CheckCompilerRelatedVariables)
|
ADD_TEST_MACRO(CheckCompilerRelatedVariables CheckCompilerRelatedVariables)
|
||||||
|
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Makefile")
|
if("${CMAKE_GENERATOR}" MATCHES "Makefile")
|
||||||
add_test(MakeClean ${CMAKE_CTEST_COMMAND}
|
add_test(MakeClean ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
"${CMake_SOURCE_DIR}/Tests/MakeClean"
|
"${CMake_SOURCE_DIR}/Tests/MakeClean"
|
||||||
|
@ -1556,7 +1556,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
|
|
||||||
# For the Watcom WMake generator, avoid the MFC test by default.
|
# For the Watcom WMake generator, avoid the MFC test by default.
|
||||||
if(CTEST_RUN_MFC)
|
if(CTEST_RUN_MFC)
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "WMake")
|
if("${CMAKE_GENERATOR}" MATCHES "WMake")
|
||||||
message(STATUS
|
message(STATUS
|
||||||
"using the Watcom WMake generator, avoiding MFC test")
|
"using the Watcom WMake generator, avoiding MFC test")
|
||||||
set(CTEST_RUN_MFC OFF)
|
set(CTEST_RUN_MFC OFF)
|
||||||
|
@ -1629,13 +1629,13 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/MFC")
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/MFC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${CMAKE_TEST_GENERATOR} MATCHES "Visual Studio")
|
if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
|
||||||
if(NOT MSVC60)
|
if(NOT MSVC60)
|
||||||
ADD_TEST_MACRO(SBCS SBCS)
|
ADD_TEST_MACRO(SBCS SBCS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio [6789]( |$)"
|
if(NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio [6789]( |$)"
|
||||||
AND NOT CMAKE_TEST_GENERATOR_TOOLSET)
|
AND NOT CMAKE_GENERATOR_TOOLSET)
|
||||||
ADD_TEST_MACRO(VSWindowsFormsResx VSWindowsFormsResx)
|
ADD_TEST_MACRO(VSWindowsFormsResx VSWindowsFormsResx)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -1673,9 +1673,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
"${CMake_BINARY_DIR}/Tests/VSExcludeFromDefaultBuild"
|
"${CMake_BINARY_DIR}/Tests/VSExcludeFromDefaultBuild"
|
||||||
--build-config ${config}
|
--build-config ${config}
|
||||||
--build-two-config
|
--build-two-config
|
||||||
--build-generator ${CMAKE_TEST_GENERATOR}
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
--build-makeprogram ${CMake_TEST_DEVENV}
|
--build-makeprogram ${CMake_TEST_DEVENV}
|
||||||
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
--build-project VSExcludeFromDefaultBuild
|
--build-project VSExcludeFromDefaultBuild
|
||||||
--test-command ${CMAKE_COMMAND}
|
--test-command ${CMAKE_COMMAND}
|
||||||
-D "activeConfig=${config}"
|
-D "activeConfig=${config}"
|
||||||
|
@ -1691,15 +1691,15 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSExcludeFromDefaultBuild")
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSExcludeFromDefaultBuild")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio ([0-5]|[6-9][0-9])")
|
if(CMAKE_GENERATOR MATCHES "Visual Studio ([0-5]|[6-9][0-9])")
|
||||||
# This is Visual Studio 10 or above, so the default build tool is MSBuild.
|
# This is Visual Studio 10 or above, so the default build tool is MSBuild.
|
||||||
add_test(NAME VSProjectInSubdir COMMAND ${CMAKE_CTEST_COMMAND}
|
add_test(NAME VSProjectInSubdir COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
"${CMake_SOURCE_DIR}/Tests/VSProjectInSubdir"
|
"${CMake_SOURCE_DIR}/Tests/VSProjectInSubdir"
|
||||||
"${CMake_BINARY_DIR}/Tests/VSProjectInSubdir"
|
"${CMake_BINARY_DIR}/Tests/VSProjectInSubdir"
|
||||||
--build-two-config
|
--build-two-config
|
||||||
--build-generator ${CMAKE_TEST_GENERATOR}
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
--build-project VSProjectInSubdir
|
--build-project VSProjectInSubdir
|
||||||
--build-target test)
|
--build-target test)
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSProjectInSubdir")
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSProjectInSubdir")
|
||||||
|
@ -1737,7 +1737,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
--test-command
|
--test-command
|
||||||
${CMAKE_CMAKE_COMMAND} -DCTEST_CONFIGURATION_TYPE=\${CTEST_CONFIGURATION_TYPE}
|
${CMAKE_CMAKE_COMMAND} -DCTEST_CONFIGURATION_TYPE=\${CTEST_CONFIGURATION_TYPE}
|
||||||
-Ddir=${CMake_BINARY_DIR}/Tests/CFBundleTest
|
-Ddir=${CMake_BINARY_DIR}/Tests/CFBundleTest
|
||||||
-Dgen=${CMAKE_TEST_GENERATOR}
|
-Dgen=${CMAKE_GENERATOR}
|
||||||
-P ${CMake_SOURCE_DIR}/Tests/CFBundleTest/VerifyResult.cmake)
|
-P ${CMake_SOURCE_DIR}/Tests/CFBundleTest/VerifyResult.cmake)
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CFBundleTest")
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CFBundleTest")
|
||||||
|
|
||||||
|
@ -1790,7 +1790,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
FAIL_REGULAR_EXPRESSION "CMake Warning .*VariableUnusedViaUnset.CMakeLists.txt:5 \\(set\\):")
|
FAIL_REGULAR_EXPRESSION "CMake Warning .*VariableUnusedViaUnset.CMakeLists.txt:5 \\(set\\):")
|
||||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedUnusedViaUnset")
|
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedUnusedViaUnset")
|
||||||
|
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Makefile" AND NOT WIN32)
|
if("${CMAKE_GENERATOR}" MATCHES "Makefile" AND NOT WIN32)
|
||||||
# Ninja does not support ADDITIONAL_MAKE_CLEAN_FILES and therefore fails
|
# Ninja does not support ADDITIONAL_MAKE_CLEAN_FILES and therefore fails
|
||||||
# this test. (See #13371)
|
# this test. (See #13371)
|
||||||
# Apparently Visual Studio does not support it either. As the MakeClean
|
# Apparently Visual Studio does not support it either. As the MakeClean
|
||||||
|
@ -1863,8 +1863,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
|
|
||||||
# A test for ctest_build() with targets in subdirectories
|
# A test for ctest_build() with targets in subdirectories
|
||||||
set(ctest_configure_options)
|
set(ctest_configure_options)
|
||||||
if(CMAKE_TEST_GENERATOR_TOOLSET)
|
if(CMAKE_GENERATOR_TOOLSET)
|
||||||
list(APPEND ctest_configure_options -T ${CMAKE_TEST_GENERATOR_TOOLSET})
|
list(APPEND ctest_configure_options -T ${CMAKE_GENERATOR_TOOLSET})
|
||||||
endif()
|
endif()
|
||||||
if(CMake_TEST_EXPLICIT_MAKE_PROGRAM)
|
if(CMake_TEST_EXPLICIT_MAKE_PROGRAM)
|
||||||
list(APPEND ctest_configure_options -DCMAKE_MAKE_PROGRAM:FILEPATH=${CMake_TEST_EXPLICIT_MAKE_PROGRAM})
|
list(APPEND ctest_configure_options -DCMAKE_MAKE_PROGRAM:FILEPATH=${CMake_TEST_EXPLICIT_MAKE_PROGRAM})
|
||||||
|
@ -2206,7 +2206,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log"
|
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log"
|
||||||
)
|
)
|
||||||
# with watcom the SEGFAULT is not found, it just fails
|
# with watcom the SEGFAULT is not found, it just fails
|
||||||
if(CMAKE_TEST_GENERATOR MATCHES "Watcom WMake")
|
if(CMAKE_GENERATOR MATCHES "Watcom WMake")
|
||||||
set_tests_properties(CTestTestCrash PROPERTIES
|
set_tests_properties(CTestTestCrash PROPERTIES
|
||||||
PASS_REGULAR_EXPRESSION "Failed")
|
PASS_REGULAR_EXPRESSION "Failed")
|
||||||
else()
|
else()
|
||||||
|
@ -2485,7 +2485,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest2/testOutput.log"
|
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest2/testOutput.log"
|
||||||
)
|
)
|
||||||
|
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Makefiles" OR "${CMAKE_TEST_GENERATOR}" MATCHES "Ninja")
|
if("${CMAKE_GENERATOR}" MATCHES "Makefiles" OR "${CMAKE_GENERATOR}" MATCHES "Ninja")
|
||||||
configure_file("${CMake_SOURCE_DIR}/Tests/CTestTestLaunchers/test.cmake.in"
|
configure_file("${CMake_SOURCE_DIR}/Tests/CTestTestLaunchers/test.cmake.in"
|
||||||
"${CMake_BINARY_DIR}/Tests/CTestTestLaunchers/test.cmake" @ONLY ESCAPE_QUOTES)
|
"${CMake_BINARY_DIR}/Tests/CTestTestLaunchers/test.cmake" @ONLY ESCAPE_QUOTES)
|
||||||
add_test(CTestTestLaunchers ${CMAKE_CTEST_COMMAND}
|
add_test(CTestTestLaunchers ${CMAKE_CTEST_COMMAND}
|
||||||
|
@ -2522,7 +2522,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES Xcode)
|
if("${CMAKE_GENERATOR}" MATCHES Xcode)
|
||||||
set(CMAKE_SKIP_BOOTSTRAP_TEST 1)
|
set(CMAKE_SKIP_BOOTSTRAP_TEST 1)
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS "${CMake_BINARY_DIR}/CMakeLists.txt")
|
if(EXISTS "${CMake_BINARY_DIR}/CMakeLists.txt")
|
||||||
|
@ -2594,7 +2594,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
|
|
||||||
find_package(Java COMPONENTS Development QUIET)
|
find_package(Java COMPONENTS Development QUIET)
|
||||||
if(Java_JAVA_EXECUTABLE AND Java_JAVAC_EXECUTABLE AND Java_JAR_EXECUTABLE AND NOT MINGW
|
if(Java_JAVA_EXECUTABLE AND Java_JAVAC_EXECUTABLE AND Java_JAR_EXECUTABLE AND NOT MINGW
|
||||||
AND NOT "${CMAKE_TEST_GENERATOR}" MATCHES "Xcode")
|
AND NOT "${CMAKE_GENERATOR}" MATCHES "Xcode")
|
||||||
get_filename_component(JNIPATH ${JAVA_COMPILE} PATH)
|
get_filename_component(JNIPATH ${JAVA_COMPILE} PATH)
|
||||||
find_file(JNI_H jni.h
|
find_file(JNI_H jni.h
|
||||||
"${JNIPATH}/../include"
|
"${JNIPATH}/../include"
|
||||||
|
@ -2618,7 +2618,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# add some cross compiler tests, for now only with makefile based generators
|
# add some cross compiler tests, for now only with makefile based generators
|
||||||
if(CMAKE_TEST_GENERATOR MATCHES "Makefiles" OR CMAKE_TEST_GENERATOR MATCHES "KDevelop")
|
if(CMAKE_GENERATOR MATCHES "Makefiles" OR CMAKE_GENERATOR MATCHES "KDevelop")
|
||||||
|
|
||||||
# if sdcc is found, build the SimpleCOnly project with sdcc
|
# if sdcc is found, build the SimpleCOnly project with sdcc
|
||||||
find_program(SDCC_EXECUTABLE sdcc)
|
find_program(SDCC_EXECUTABLE sdcc)
|
||||||
|
|
|
@ -8,8 +8,8 @@ file(REMOVE_RECURSE "${binary_dir}")
|
||||||
file(MAKE_DIRECTORY "${binary_dir}")
|
file(MAKE_DIRECTORY "${binary_dir}")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${CMAKE_COMMAND} ${CMAKE_ARGS}
|
COMMAND ${CMAKE_COMMAND} ${CMAKE_ARGS}
|
||||||
"${source_dir}" -G "@CMAKE_TEST_GENERATOR@"
|
"${source_dir}" -G "@CMAKE_GENERATOR@"
|
||||||
-T "@CMAKE_TEST_GENERATOR_TOOLSET@"
|
-T "@CMAKE_GENERATOR_TOOLSET@"
|
||||||
WORKING_DIRECTORY "${binary_dir}"
|
WORKING_DIRECTORY "${binary_dir}"
|
||||||
RESULT_VARIABLE result
|
RESULT_VARIABLE result
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.10)
|
||||||
|
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/VSProjectInSubdir")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/VSProjectInSubdir")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestBuildCommandProjectInSubdir/Nested")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestBuildCommandProjectInSubdir/Nested")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_PROJECT_NAME "VSProjectInSubdir")
|
set(CTEST_PROJECT_NAME "VSProjectInSubdir")
|
||||||
set(CTEST_BUILD_CONFIGURATION "@CTestTest_CONFIG@")
|
set(CTEST_BUILD_CONFIGURATION "@CTestTest_CONFIG@")
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ endif()
|
||||||
message("cmake initial configure")
|
message("cmake initial configure")
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND}
|
execute_process(COMMAND ${CMAKE_COMMAND}
|
||||||
${arg}
|
${arg}
|
||||||
-G "@CMAKE_TEST_GENERATOR@"
|
-G "@CMAKE_GENERATOR@"
|
||||||
-T "@CMAKE_TEST_GENERATOR_TOOLSET@"
|
-T "@CMAKE_GENERATOR_TOOLSET@"
|
||||||
${CTEST_SOURCE_DIRECTORY}
|
${CTEST_SOURCE_DIRECTORY}
|
||||||
WORKING_DIRECTORY ${CTEST_BINARY_DIRECTORY}
|
WORKING_DIRECTORY ${CTEST_BINARY_DIRECTORY}
|
||||||
RESULT_VARIABLE rv)
|
RESULT_VARIABLE rv)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_PROJECT_NAME "CTestConfig")
|
set(CTEST_PROJECT_NAME "CTestConfig")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestConfig")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestConfig")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestConfig/@cfg@-script")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestConfig/@cfg@-script")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-BadExe")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestBadExe")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestBadExe")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestBadExe")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestBadExe")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Checksum")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestParallel")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestParallel")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestParallel")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestParallel")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-ConfigFileInBuild
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestConfigFileInBuildDir")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestConfigFileInBuildDir")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestConfigFileInBuildDir1")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestConfigFileInBuildDir1")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-ConfigFileInBuild
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestConfigFileInBuildDir")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestConfigFileInBuildDir")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestConfigFileInBuildDir2")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestConfigFileInBuildDir2")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-CostSerial")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestCostSerial")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestCostSerial")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestCostSerial")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestCostSerial")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Crash")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestCrash")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestCrash")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestCrash")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestCrash")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Cycle")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestCycle")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestCycle")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestCycle")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestCycle")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Depends")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestDepends")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestDepends")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestDepends")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestDepends")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-NoBuild")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestFailure")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestFailure")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestFailure")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestFailure")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-NoExe")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestFailure")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestFailure")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestFailure")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestFailure")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-FdSetSize")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestFdSetSize")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestFdSetSize")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestFdSetSize")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestFdSetSize")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Memcheck@SUBTEST_
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@SUBTEST_NAME@")
|
set(CTEST_SOURCE_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@SUBTEST_NAME@")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@SUBTEST_NAME@")
|
set(CTEST_BINARY_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@SUBTEST_NAME@")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Parallel")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestParallel")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestParallel")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestParallel")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestParallel")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-ResourceLock")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestResourceLock")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestResourceLock")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestResourceLock")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestResourceLock")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Scheduler")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestScheduler")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestScheduler")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestScheduler")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestScheduler")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-SkipReturnCode")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestSkipReturnCode")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestSkipReturnCode")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestSkipReturnCode")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestSkipReturnCode")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-StopTime")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestStopTime")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestStopTime")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestStopTime")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestStopTime")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Subdir")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestSubdir")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestSubdir")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestSubdir")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestSubdir")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Timeout")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestTimeout")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestTimeout")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestTimeout")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestTimeout")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -7,8 +7,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Upload")
|
||||||
|
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestUpload")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestUpload")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestUpload")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestUpload")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
|
|
||||||
CTEST_START(Experimental)
|
CTEST_START(Experimental)
|
||||||
|
|
|
@ -8,8 +8,8 @@ set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-ZeroTimeout")
|
||||||
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestZeroTimeout")
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestZeroTimeout")
|
||||||
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestZeroTimeout")
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestZeroTimeout")
|
||||||
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
||||||
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
|
||||||
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
|
||||||
|
|
|
@ -12,7 +12,7 @@ macro(check_a_tag desired_tag resulting_sha fetch_expected)
|
||||||
|
|
||||||
# Configure
|
# Configure
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND}
|
execute_process(COMMAND ${CMAKE_COMMAND}
|
||||||
-G ${CMAKE_TEST_GENERATOR} -T "${CMAKE_TEST_GENERATOR_TOOLSET}"
|
-G ${CMAKE_GENERATOR} -T "${CMAKE_GENERATOR_TOOLSET}"
|
||||||
-DTEST_GIT_TAG:STRING=${desired_tag}
|
-DTEST_GIT_TAG:STRING=${desired_tag}
|
||||||
${ExternalProjectUpdate_SOURCE_DIR}
|
${ExternalProjectUpdate_SOURCE_DIR}
|
||||||
WORKING_DIRECTORY ${ExternalProjectUpdate_BINARY_DIR}
|
WORKING_DIRECTORY ${ExternalProjectUpdate_BINARY_DIR}
|
||||||
|
|
|
@ -14,8 +14,8 @@ set(COMMAND)
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
WORKING_DIRECTORY "${bld}"
|
WORKING_DIRECTORY "${bld}"
|
||||||
COMMAND ${CMAKE_COMMAND} "${src}" -G "@CMAKE_TEST_GENERATOR@"
|
COMMAND ${CMAKE_COMMAND} "${src}" -G "@CMAKE_GENERATOR@"
|
||||||
-T "@CMAKE_TEST_GENERATOR_TOOLSET@"
|
-T "@CMAKE_GENERATOR_TOOLSET@"
|
||||||
"-DFortranC_TEST_FLAGS=1"
|
"-DFortranC_TEST_FLAGS=1"
|
||||||
"-DCMAKE_C_COMPILER=${bld}/cc.sh"
|
"-DCMAKE_C_COMPILER=${bld}/cc.sh"
|
||||||
"-DCMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@"
|
"-DCMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@"
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
macro(add_RunCMake_test test)
|
macro(add_RunCMake_test test)
|
||||||
add_test(RunCMake.${test} ${CMAKE_CMAKE_COMMAND}
|
add_test(RunCMake.${test} ${CMAKE_CMAKE_COMMAND}
|
||||||
-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR}
|
-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
-DRunCMake_GENERATOR=${CMAKE_TEST_GENERATOR}
|
-DRunCMake_GENERATOR=${CMAKE_GENERATOR}
|
||||||
-DRunCMake_GENERATOR_TOOLSET=${CMAKE_TEST_GENERATOR_TOOLSET}
|
-DRunCMake_GENERATOR_TOOLSET=${CMAKE_GENERATOR_TOOLSET}
|
||||||
-DRunCMake_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}/${test}
|
-DRunCMake_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}/${test}
|
||||||
-DRunCMake_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}/${test}
|
-DRunCMake_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}/${test}
|
||||||
${${test}_ARGS}
|
${${test}_ARGS}
|
||||||
|
@ -35,7 +35,7 @@ add_RunCMake_test(CMP0046)
|
||||||
add_RunCMake_test(CMP0049)
|
add_RunCMake_test(CMP0049)
|
||||||
add_RunCMake_test(CMP0050)
|
add_RunCMake_test(CMP0050)
|
||||||
add_RunCMake_test(CTest)
|
add_RunCMake_test(CTest)
|
||||||
if(UNIX AND "${CMAKE_TEST_GENERATOR}" MATCHES "Unix Makefiles")
|
if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Unix Makefiles")
|
||||||
add_RunCMake_test(CompilerChange)
|
add_RunCMake_test(CompilerChange)
|
||||||
endif()
|
endif()
|
||||||
add_RunCMake_test(CompilerNotFound)
|
add_RunCMake_test(CompilerNotFound)
|
||||||
|
@ -105,7 +105,7 @@ if (QT4_FOUND)
|
||||||
add_RunCMake_test(ObsoleteQtMacros)
|
add_RunCMake_test(ObsoleteQtMacros)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio [^6]")
|
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio [^6]")
|
||||||
add_RunCMake_test(include_external_msproject)
|
add_RunCMake_test(include_external_msproject)
|
||||||
add_RunCMake_test(SolutionGlobalSections)
|
add_RunCMake_test(SolutionGlobalSections)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue