summaryrefslogtreecommitdiffstats
path: root/Tests/Contracts/Trilinos/RunTest.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2013-08-28 19:28:14 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2013-08-28 19:28:14 (GMT)
commit5a4a5841d4b003ee3e8e62a4c1114235582cb5c4 (patch)
treefab658a6e376ab5d432f03a19549b90359bc67f8 /Tests/Contracts/Trilinos/RunTest.cmake
parentb6f6802b3d0dc1a9ab7beb62a17bd0651d87a64f (diff)
downloadCMake-5a4a5841d4b003ee3e8e62a4c1114235582cb5c4.zip
CMake-5a4a5841d4b003ee3e8e62a4c1114235582cb5c4.tar.gz
CMake-5a4a5841d4b003ee3e8e62a4c1114235582cb5c4.tar.bz2
update Trilinos contract test
The old version encountered a compile error on newer versions of GCC. Update to the latest supported release of Trilinos, remove the version number from the name of the Contract, and some other minor tweaks to get the test passing once more.
Diffstat (limited to 'Tests/Contracts/Trilinos/RunTest.cmake')
-rw-r--r--Tests/Contracts/Trilinos/RunTest.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/Contracts/Trilinos/RunTest.cmake b/Tests/Contracts/Trilinos/RunTest.cmake
new file mode 100644
index 0000000..d661a4c
--- /dev/null
+++ b/Tests/Contracts/Trilinos/RunTest.cmake
@@ -0,0 +1,7 @@
+# ValidateBuild.cmake is configured into this location when the test is built:
+set(dir "${CMAKE_CURRENT_BINARY_DIR}/Contracts/${project}")
+
+set(exe "${CMAKE_COMMAND}")
+set(args -P "${dir}/ValidateBuild.cmake")
+
+set(Trilinos_RUN_TEST ${exe} ${args})