ENH: Improve 'testing' test to actually test

The 'testing' CMake test builds a project that uses add_test.  This
strengthens the test to actually run CTest on the project build tree
after building it.
This commit is contained in:
Brad King
2008-12-18 12:28:05 -05:00
parent 4c725d1e0e
commit adb6bf82b0
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
# Add test
#
ADD_EXECUTABLE(testing2 testing2.cxx)
ADD_TEST(testing2 ${Testing_BINARY_DIR}/bin/testing2)
ADD_TEST(testing.2 ${Testing_BINARY_DIR}/bin/testing2)