ENH: add test I removed by mistake
This commit is contained in:
parent
ba75d1e823
commit
1936242ad4
|
@ -411,6 +411,18 @@ IF(BUILD_TESTING)
|
|||
${CMake_SOURCE_DIR}/Tests/TargetName/scripts/hello_world
|
||||
${CMake_BINARY_DIR}/Tests/TargetName/scripts/hello_world)
|
||||
|
||||
ADD_TEST(LibName ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/LibName"
|
||||
"${CMake_BINARY_DIR}/Tests/LibName"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_TEST_GENERATOR}
|
||||
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
||||
--build-project LibName
|
||||
--build-exe-dir "${CMake_BINARY_DIR}/Tests/LibName/lib"
|
||||
--test-command foobar
|
||||
)
|
||||
|
||||
ADD_TEST(CustComDepend ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/CustComDepend"
|
||||
|
|
Loading…
Reference in New Issue