summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-20 21:19:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-20 21:19:00 (GMT)
commit2f639d37b50ad37b28d001a023fc39e21ceda559 (patch)
treef30f0bb6277616e6a46a4296e324638a29acd1b4 /Source/CMakeLists.txt
parent49bcc1ad51e25b0d7c08a2861b997a9d10cf6379 (diff)
downloadCMake-2f639d37b50ad37b28d001a023fc39e21ceda559.zip
CMake-2f639d37b50ad37b28d001a023fc39e21ceda559.tar.gz
CMake-2f639d37b50ad37b28d001a023fc39e21ceda559.tar.bz2
ENH: add new command to create a test driver
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 3f4cdb7..118bf2f 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -131,6 +131,25 @@ IF(BUILD_TESTING)
wrapping
${CMake_BINARY_DIR}/Tests/Wrapping/bin)
+ ADD_TEST(testdriver1 ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/TestDriver
+ ${CMake_BINARY_DIR}/Tests/TestDriver
+ TestDriverTest
+ ${CMake_BINARY_DIR}/Tests/Wrapping/bin
+ TestDriverTest test1)
+ ADD_TEST(testdriver2 ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/TestDriver
+ ${CMake_BINARY_DIR}/Tests/TestDriver
+ TestDriverTest
+ ${CMake_BINARY_DIR}/Tests/Wrapping/bin
+ TestDriverTest test2)
+ ADD_TEST(testdriver3 ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/TestDriver
+ ${CMake_BINARY_DIR}/Tests/TestDriver
+ TestDriverTest
+ ${CMake_BINARY_DIR}/Tests/Wrapping/bin
+ TestDriverTest test3)
+
ENDIF (DART_ROOT)
ENDIF(BUILD_TESTING)