From 30b3cc0755b43bf3ad04cf2fa4d5af441cbadfd7 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Sat, 19 Jan 2002 21:23:19 -0500 Subject: [PATCH] Add 2 new tests --- Source/CMakeLists.txt | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 666f8f079..64d28f149 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -78,22 +78,40 @@ IF(BUILD_TESTING) CONFIGURE_FILE( ${CMake_SOURCE_DIR}/Source/cmaketest.h.in ${CMake_BINARY_DIR}/Source/cmaketest.h ESCAPE_QUOTES) + ADD_TEST(DumpDocumentation ${CMake_BINARY_DIR}/Source/DumpDocumentation - ${CMake_BINARY_DIR}/CMakeDoc.html ) + ${CMake_BINARY_DIR}/CMakeDoc.html) + ADD_TEST(simple ${CMake_BINARY_DIR}/Source/cmaketest ${CMake_SOURCE_DIR}/Tests/Simple - ${CMake_BINARY_DIR}/Tests/Simple simple ) + ${CMake_BINARY_DIR}/Tests/Simple + simple) + ADD_TEST(complex ${CMake_BINARY_DIR}/Source/cmaketest ${CMake_SOURCE_DIR}/Tests/Complex ${CMake_BINARY_DIR}/Tests/Complex complex - ${CMake_BINARY_DIR}/Tests/Complex/bin ) + ${CMake_BINARY_DIR}/Tests/Complex/bin) + ADD_TEST(Example ${CMake_BINARY_DIR}/Source/cmaketest ${CMake_SOURCE_DIR}/Example ${CMake_BINARY_DIR}/Example helloDemo ${CMake_BINARY_DIR}/Example/Demo - HELLO ) + HELLO) + + ADD_TEST(testing ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/Testing + ${CMake_BINARY_DIR}/Tests/Testing + testing + ${CMake_BINARY_DIR}/Tests/Testing/bin) + + ADD_TEST(wrapping ${CMake_BINARY_DIR}/Source/cmaketest + ${CMake_SOURCE_DIR}/Tests/Wrapping + ${CMake_BINARY_DIR}/Tests/Wrapping + wrapping + ${CMake_BINARY_DIR}/Tests/Wrapping/bin) + ENDIF (DART_ROOT) ENDIF(BUILD_TESTING)