diff options
author | Brad King <brad.king@kitware.com> | 2008-12-18 17:28:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-12-18 17:28:05 (GMT) |
commit | adb6bf82b0c780f9fbf36ef5bebaa38d4e7eb5ae (patch) | |
tree | c5dd5da64149b2174712164ee5b2f02d72004aca /Tests/Testing | |
parent | 4c725d1e0ef60f55d7c6b628d9fcd4961f4f2115 (diff) | |
download | CMake-adb6bf82b0c780f9fbf36ef5bebaa38d4e7eb5ae.zip CMake-adb6bf82b0c780f9fbf36ef5bebaa38d4e7eb5ae.tar.gz CMake-adb6bf82b0c780f9fbf36ef5bebaa38d4e7eb5ae.tar.bz2 |
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.
Diffstat (limited to 'Tests/Testing')
-rw-r--r-- | Tests/Testing/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/Testing/Sub/Sub2/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Testing/CMakeLists.txt b/Tests/Testing/CMakeLists.txt index c4459bb..5a15f11 100644 --- a/Tests/Testing/CMakeLists.txt +++ b/Tests/Testing/CMakeLists.txt @@ -46,7 +46,7 @@ ENABLE_TESTING() # Add test # ADD_EXECUTABLE(testing testing.cxx) -ADD_TEST(testing ${Testing_BINARY_DIR}/bin/testing) +ADD_TEST(testing.1 ${Testing_BINARY_DIR}/bin/testing) # # skip level test diff --git a/Tests/Testing/Sub/Sub2/CMakeLists.txt b/Tests/Testing/Sub/Sub2/CMakeLists.txt index 864c1b7..3a7295d 100644 --- a/Tests/Testing/Sub/Sub2/CMakeLists.txt +++ b/Tests/Testing/Sub/Sub2/CMakeLists.txt @@ -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) |