summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-30 21:49:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-30 21:49:52 (GMT)
commit0d8f4d2dccf502646251fc728e8f975fd6d56b6d (patch)
tree40102a6c7d9dc828bd49a40b9f2e40e7e02c6afd
parentffbdca2b84b06ea93888781f9a5cc201f6c9ddfd (diff)
downloadCMake-0d8f4d2dccf502646251fc728e8f975fd6d56b6d.zip
CMake-0d8f4d2dccf502646251fc728e8f975fd6d56b6d.tar.gz
CMake-0d8f4d2dccf502646251fc728e8f975fd6d56b6d.tar.bz2
create tests without Dart
-rw-r--r--CMakeLists.txt1
-rw-r--r--Source/CMakeLists.txt4
2 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3661d07..2361e63 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,7 @@
PROJECT(CMake)
SUBDIRS(Source Modules Templates Utilities)
+ENABLE_TESTING()
# Include the standard Dart testing module
INCLUDE (${CMake_SOURCE_DIR}/Modules/Dart.cmake)
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 531f486..b078e2d 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -98,8 +98,6 @@ CONFIGURE_FILE(
ADD_EXECUTABLE(cmaketest cmaketest.cxx cmSystemTools.cxx)
IF(BUILD_TESTING)
- IF (DART_ROOT)
-
ADD_TEST(DumpDocumentation ${CMake_BINARY_DIR}/Source/DumpDocumentation
${CMake_BINARY_DIR}/CMakeDoc.html)
@@ -158,8 +156,6 @@ IF(BUILD_TESTING)
TestDriverTest
${CMake_BINARY_DIR}/Tests/Wrapping/bin
TestDriverTest subdir/test3)
-
- ENDIF (DART_ROOT)
ENDIF(BUILD_TESTING)