summaryrefslogtreecommitdiffstats
path: root/Tests/Contracts/cse-snapshot/RunTest.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-10-08 19:09:24 (GMT)
committerDavid Cole <david.cole@kitware.com>2010-10-08 19:09:24 (GMT)
commitc81ad34e85fcc18fe8095b01e3b06d2cf1005155 (patch)
tree206681731c6d97003096e0b60469a1bd56647d0b /Tests/Contracts/cse-snapshot/RunTest.cmake
parent942ace83935fdb3272e026f21c56a6682b78d6de (diff)
downloadCMake-c81ad34e85fcc18fe8095b01e3b06d2cf1005155.zip
CMake-c81ad34e85fcc18fe8095b01e3b06d2cf1005155.tar.gz
CMake-c81ad34e85fcc18fe8095b01e3b06d2cf1005155.tar.bz2
Add a contract test for building the CSE.
To activate the CSE contract test on a given Linux machine's CMake dashboard, put CMAKE_CONTRACT_PROJECTS:STRING=cse-snapshot in the CMake dashboard's initial cache. The chosen snapshot does not generate subproject dependency info right now. That code was in a previous revision in the CSE's svn repo that apparently has not been merged into the present cse git repository master branch. After that is fixed up in the cse repo, we can update the tag here so that the snapshot built here can run a sub-project based dashboard script. For now, it runs as one big build step, building 'all'.
Diffstat (limited to 'Tests/Contracts/cse-snapshot/RunTest.cmake')
-rw-r--r--Tests/Contracts/cse-snapshot/RunTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Contracts/cse-snapshot/RunTest.cmake b/Tests/Contracts/cse-snapshot/RunTest.cmake
new file mode 100644
index 0000000..7eb6301
--- /dev/null
+++ b/Tests/Contracts/cse-snapshot/RunTest.cmake
@@ -0,0 +1,3 @@
+set(exe "$ENV{HOME}/.cmake/Contracts/cse-snapshot/510345e4/build/built/Release/git-1.6.5.2/bin/git")
+set(args help clone)
+set(cse-snapshot_RUN_TEST ${exe} ${args})