[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.59 1.60
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jul 30 16:36:24 EDT 2008
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv22696/Tests
Modified Files:
CMakeLists.txt
Log Message:
ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the patch. See issue #7170 for more details.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.59
retrieving revision 1.60
diff -C 2 -d -r1.59 -r1.60
*** CMakeLists.txt 7 Jul 2008 19:07:54 -0000 1.59
--- CMakeLists.txt 30 Jul 2008 20:36:22 -0000 1.60
***************
*** 710,713 ****
--- 710,726 ----
ENDIF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
+ IF(APPLE AND CTEST_TEST_CPACK)
+ ADD_TEST(BundleGeneratorTest ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/BundleGeneratorTest"
+ "${CMake_BINARY_DIR}/Tests/BundleGeneratorTest"
+ --build-two-config
+ --build-generator ${CMAKE_TEST_GENERATOR}
+ --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
+ --build-target package
+ --build-options "-DCMAKE_INSTALL_PREFIX:PATH=${CMake_BINARY_DIR}/Tests/BundleGeneratorTest/InstallDirectory"
+ )
+ ENDIF(APPLE AND CTEST_TEST_CPACK)
+
IF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS)
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest/test.cmake.in"
More information about the Cmake-commits
mailing list