summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2011-01-07 18:50:36 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2011-01-07 18:50:36 (GMT)
commitfaf1c1e49f46fda171541d9f08efaf225457edc5 (patch)
treeb1c9b0ee82e4401e63425debdbbfe1646dbc9e85
parent4b05a213028b09660d4651b46a1cc3f102c8ad97 (diff)
downloadCMake-faf1c1e49f46fda171541d9f08efaf225457edc5.zip
CMake-faf1c1e49f46fda171541d9f08efaf225457edc5.tar.gz
CMake-faf1c1e49f46fda171541d9f08efaf225457edc5.tar.bz2
Change the nightly tests to build from the nightly branch and not next.
This will make sure that the nightly test matches the dashboard nightly section. When it was next, it used next from when the test was run.
-rw-r--r--Tests/CMakeLists.txt2
-rw-r--r--Utilities/Release/release_cmake.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index faaa177..404bacf 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -321,7 +321,7 @@ IF(BUILD_TESTING)
FILE(MAKE_DIRECTORY "${_TEST_DIR}")
FILE(WRITE "${_TEST_DIR}/nightly-cmake.sh"
"cd ${_TEST_DIR}
-${CMake_BINARY_DIR}/bin/cmake -DCMAKE_CREATE_VERSION=next -P ${CMake_SOURCE_DIR}/Utilities/Release/${script}
+${CMake_BINARY_DIR}/bin/cmake -DCMAKE_CREATE_VERSION=nightly -P ${CMake_SOURCE_DIR}/Utilities/Release/${script}
${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/Release/upload_release.cmake
")
ADD_TEST(${name} /bin/sh ${_TEST_DIR}/nightly-cmake.sh)
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index 3a35ec3..939d9dc 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -34,7 +34,7 @@ if(NOT DEFINED CVS_COMMAND)
set(CVS_COMMAND cvs)
endif(NOT DEFINED CVS_COMMAND)
-if(${CMAKE_CREATE_VERSION} MATCHES "^(release|maint|next)$")
+if(${CMAKE_CREATE_VERSION} MATCHES "^(release|maint|next|nightly)$")
set(GIT_BRANCH origin/${CMAKE_CREATE_VERSION})
else()
set(GIT_BRANCH ${CMAKE_CREATE_VERSION})