ENH: add bundle test
This commit is contained in:
parent
4214dd3c2a
commit
041d4688ec
|
@ -792,6 +792,16 @@ IF(BUILD_TESTING)
|
|||
ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio")
|
||||
|
||||
IF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
|
||||
ADD_TEST(BundleTest ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/BundleTest"
|
||||
"${CMake_BINARY_DIR}/Tests/BundleTest"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${MAKEPROGRAM}
|
||||
--build-project BundleTest
|
||||
--test-command BundleTest.app/Contents/MacOS/BundleTest)
|
||||
|
||||
ADD_TEST(objc++ ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Objc++"
|
||||
|
|
Loading…
Reference in New Issue