summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-09-19 15:10:35 (GMT)
committerBrad King <brad.king@kitware.com>2007-09-19 15:10:35 (GMT)
commit4710c7aef619b34486980c74bf226986550ae3b6 (patch)
treeb0ac64a72b9400d6d6d461038311f3960246026f /Tests
parenta347abe269c3ac065f9a9d9973c8935ac055f165 (diff)
downloadCMake-4710c7aef619b34486980c74bf226986550ae3b6.zip
CMake-4710c7aef619b34486980c74bf226986550ae3b6.tar.gz
CMake-4710c7aef619b34486980c74bf226986550ae3b6.tar.bz2
ENH: Re-enable packaging part of SimpleInstall-Stage2 test on Apple. Give it a long timeout to see what is going on.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt6
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt3
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt3
3 files changed, 12 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 2eaaa8f..b31bf6a 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -195,6 +195,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
"-DCMAKE_INSTALL_PREFIX:PATH=${SimpleInstallInstallDir}"
"-DSTAGE2:BOOL=1"
--test-command ${SimpleInstallInstallDir}/MyTest/bin/SimpleInstallS2)
+ IF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY)
+ IF(APPLE)
+ # Set a really long timeout on apple to see if the test finishes.
+ SET_TESTS_PROPERTIES(SimpleInstall-Stage2 PROPERTIES TIMEOUT 50000)
+ ENDIF(APPLE)
+ ENDIF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY)
ADD_TEST(X11 ${CMAKE_CTEST_COMMAND}
--build-and-test
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index ffbf27c..a0c442e 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -333,6 +333,9 @@ SET(CMAKE_INSTALL_DEBUG_LIBRARIES 1)
INCLUDE(InstallRequiredSystemLibraries)
INCLUDE(CPack)
+# Avoid disabling test on Apple to try to diagnose the problem.
+SET(CTEST_TEST_CPACK 1)
+
# disable packaging on Apple, since this includes the /Applications dir
# where a symbolic link is created by cmCPackOSXX11Generator.cxx
SET(PACKAGE_TARGET --build-target package)
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt
index ffbf27c..a0c442e 100644
--- a/Tests/SimpleInstallS2/CMakeLists.txt
+++ b/Tests/SimpleInstallS2/CMakeLists.txt
@@ -333,6 +333,9 @@ SET(CMAKE_INSTALL_DEBUG_LIBRARIES 1)
INCLUDE(InstallRequiredSystemLibraries)
INCLUDE(CPack)
+# Avoid disabling test on Apple to try to diagnose the problem.
+SET(CTEST_TEST_CPACK 1)
+
# disable packaging on Apple, since this includes the /Applications dir
# where a symbolic link is created by cmCPackOSXX11Generator.cxx
SET(PACKAGE_TARGET --build-target package)