summaryrefslogtreecommitdiffstats
path: root/Tests/Contracts/VTK/Configure.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-30 14:48:05 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-03 15:35:06 (GMT)
commit4c626b7e43c27de0dce4b8af15290cce861f9dc8 (patch)
tree2ec44c82054e867c97afb8eb4de717806b8a0a6c /Tests/Contracts/VTK/Configure.cmake
parent4bd5af6302f0b7bafecf9ca7919287fe4d3f09e0 (diff)
downloadCMake-4c626b7e43c27de0dce4b8af15290cce861f9dc8.zip
CMake-4c626b7e43c27de0dce4b8af15290cce861f9dc8.tar.gz
CMake-4c626b7e43c27de0dce4b8af15290cce861f9dc8.tar.bz2
Tests: Refactor contract test activation
Use separate `CMake_TEST_CONTRACT_<project>` variables for each test. Make the set of possible tests match what is in the source tree.
Diffstat (limited to 'Tests/Contracts/VTK/Configure.cmake')
-rw-r--r--Tests/Contracts/VTK/Configure.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Contracts/VTK/Configure.cmake b/Tests/Contracts/VTK/Configure.cmake
new file mode 100644
index 0000000..037d75a
--- /dev/null
+++ b/Tests/Contracts/VTK/Configure.cmake
@@ -0,0 +1,3 @@
+set(exe "$ENV{HOME}/.cmake/Contracts/VTK/VTK-build/bin/vtkCommonCoreCxxTests")
+set(args otherArrays)
+set(CMake_TEST_CONTRACT_VTK_RUN_TEST ${exe} ${args})