let cmake/ctest create the CTestTestfile.cmake files. This is done by having an enable_testing all the way up the tree to where the tests are
refs #11
--- a/CTestTestfile.cmake Sat Jun 26 13:22:23 2010 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# CMake generated Testfile for
-# Source directory: /home/grim/programming/gplate-clean
-# Build directory: /home/grim/programming/gplate-clean
-# This file includes the relevent testing commands required for
-# testing this directory and lists subdirectories to be tested as well.
--- a/gplate/CMakeLists.txt Sat Jun 26 13:22:23 2010 -0500
+++ b/gplate/CMakeLists.txt Sat Jun 26 13:27:18 2010 -0500
@@ -2,6 +2,8 @@
add_subdirectory(variables)
--- a/gplate/CTestTestfile.cmake Sat Jun 26 13:22:23 2010 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-SUBDIRS(functions tags variables)
--- a/gplate/functions/CMakeLists.txt Sat Jun 26 13:22:23 2010 -0500
+++ b/gplate/functions/CMakeLists.txt Sat Jun 26 13:27:18 2010 -0500
@@ -1,5 +1,7 @@
set(GPLATE_FUNCTIONS_HEADERS
gplate-include-function.h
--- a/gplate/functions/CTestTestfile.cmake Sat Jun 26 13:22:23 2010 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
--- a/gplate/functions/tests/CTestTestfile.cmake Sat Jun 26 13:22:23 2010 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# CMake generated Testfile for
-# Source directory: /home/grim/programming/gplate-clean/gplate/functions/tests
-# Build directory: /home/grim/programming/gplate-clean/gplate/functions/tests
-# This file includes the relevent testing commands required for
-# testing this directory and lists subdirectories to be tested as well.
-ADD_TEST(ForFunction "test-for-function")