summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-03 16:48:25 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-02-03 16:52:54 (GMT)
commitbf2e385397d6feeafbc3d3df45bac47b325c6c7a (patch)
tree97978c0dcb5023eab4b4e4714bed9cb23e7f852e /Tests
parent46a734cdbd4c2ffb5af64a3f0d8a5c48c47b8140 (diff)
downloadCMake-bf2e385397d6feeafbc3d3df45bac47b325c6c7a.zip
CMake-bf2e385397d6feeafbc3d3df45bac47b325c6c7a.tar.gz
CMake-bf2e385397d6feeafbc3d3df45bac47b325c6c7a.tar.bz2
Tests: Update drop site value for the Trilinos contract test
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Contracts/Trilinos-10-6/Patch.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/Contracts/Trilinos-10-6/Patch.cmake b/Tests/Contracts/Trilinos-10-6/Patch.cmake
index a7aae27..76051eb 100644
--- a/Tests/Contracts/Trilinos-10-6/Patch.cmake
+++ b/Tests/Contracts/Trilinos-10-6/Patch.cmake
@@ -2,6 +2,7 @@ if(NOT DEFINED source_dir)
message(FATAL_ERROR "variable 'source_dir' not defined")
endif()
+
if(NOT EXISTS "${source_dir}/CMakeLists.txt")
message(FATAL_ERROR "error: No CMakeLists.txt file to patch!")
endif()
@@ -18,3 +19,20 @@ MESSAGE(\"Trilinos_WARNINGS_AS_ERRORS_FLAGS='\${Trilinos_WARNINGS_AS_ERRORS_FLAG
")
file(APPEND "${source_dir}/CMakeLists.txt" "${text}")
+
+
+if(NOT EXISTS "${source_dir}/CTestConfig.cmake")
+ message(FATAL_ERROR "error: No CTestConfig.cmake file to patch!")
+endif()
+
+set(text "
+
+#
+# Use newer than 10.6.1 CTestConfig settings from the Trilinos project.
+# Send the Trilinos dashboards to the new Trilinos CDash server instance.
+#
+SET(CTEST_NIGHTLY_START_TIME \"04:00:00 UTC\") # 10 PM MDT or 9 PM MST
+SET(CTEST_DROP_SITE \"testing.sandia.gov\")
+")
+
+file(APPEND "${source_dir}/CTestConfig.cmake" "${text}")