2012-01-12 02:04:04 +04:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Test.cmake.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/Test.cmake @ONLY)
|
|
|
|
|
|
|
|
macro(add_CMakeOnly_test test)
|
|
|
|
add_test(CMakeOnly.${test} ${CMAKE_CMAKE_COMMAND}
|
|
|
|
-DTEST=${test}
|
|
|
|
-P ${CMAKE_CURRENT_BINARY_DIR}/Test.cmake
|
|
|
|
)
|
|
|
|
endmacro()
|
2012-01-03 02:04:42 +04:00
|
|
|
|
2012-01-12 19:22:00 +04:00
|
|
|
add_CMakeOnly_test(LinkInterfaceLoop)
|
|
|
|
set_property(TEST CMakeOnly.LinkInterfaceLoop PROPERTY TIMEOUT 90)
|
2012-01-17 00:03:23 +04:00
|
|
|
|
2012-01-03 02:04:42 +04:00
|
|
|
add_CMakeOnly_test(CheckSymbolExists)
|
|
|
|
|
|
|
|
add_CMakeOnly_test(CheckCXXSymbolExists)
|
2012-01-17 02:37:13 +04:00
|
|
|
|
|
|
|
add_CMakeOnly_test(AllFindModules)
|