summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-30 14:43:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-30 14:43:09 (GMT)
commit2d01dcab29aaa60e905e828d4a07d2f72f7eeb20 (patch)
tree3e0bbb168f70a96b4c4168d78d41fe8692024c64 /Tests
parenta38965db9a515c0f8af9035d6cca13cf684b406a (diff)
parent2c71208a78f47f59972a3a39b1f038d293abd83b (diff)
downloadCMake-2d01dcab29aaa60e905e828d4a07d2f72f7eeb20.zip
CMake-2d01dcab29aaa60e905e828d4a07d2f72f7eeb20.tar.gz
CMake-2d01dcab29aaa60e905e828d4a07d2f72f7eeb20.tar.bz2
Merge topic 'rel-nightly-test'
2c71208a78 Tests: Fix nightly binary tests to fail on error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3755
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 02e28d4..cbd7d56 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -764,7 +764,8 @@ if(BUILD_TESTING)
set(_TEST_DIR "${CMake_BINARY_DIR}/Tests/${name}")
file(MAKE_DIRECTORY "${_TEST_DIR}")
file(WRITE "${_TEST_DIR}/nightly-cmake.sh"
- "cd ${_TEST_DIR}
+ "set -e
+cd ${_TEST_DIR}
${CMake_BINARY_DIR}/bin/cmake -DCMAKE_CREATE_VERSION=nightly -P ${CMake_SOURCE_DIR}/Utilities/Release/${script}
${CMake_SOURCE_DIR}/Utilities/Release/push.bash --dir dev -- '${CMake_BUILD_NIGHTLY_RELEASES}'
")