ENH: add test for conv libraries

This commit is contained in:
Bill Hoffman 2007-02-19 13:26:38 -05:00
parent 09699018cc
commit 303048d3dc
2 changed files with 29 additions and 19 deletions

View File

@ -697,6 +697,16 @@ IF(BUILD_TESTING)
-DCMAKE_TEST_SYSTEM_LIBRARIES:BOOL=${CMAKE_TEST_SYSTEM_LIBRARIES} -DCMAKE_TEST_SYSTEM_LIBRARIES:BOOL=${CMAKE_TEST_SYSTEM_LIBRARIES}
--test-command complex) --test-command complex)
ADD_TEST(ConvLibrary ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/ConvLibrary"
"${CMake_BINARY_DIR}/Tests/ConvLibrary/Step4"
--build-two-config
--build-generator ${CMAKE_TEST_GENERATOR}
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-project ConvLibrary
--test-command bartest)
# ADD_TEST(complexRelativePaths ${CMAKE_CTEST_COMMAND} # ADD_TEST(complexRelativePaths ${CMAKE_CTEST_COMMAND}
# --build-and-test # --build-and-test
# "${CMake_SOURCE_DIR}/Tests/ComplexRelativePaths" # "${CMake_SOURCE_DIR}/Tests/ComplexRelativePaths"

View File

@ -1,4 +1,4 @@
project(foo) project(ConvLibrary)
# create a source list # create a source list
set(foo_sources foo.cxx bar.c sub1/car.cxx) set(foo_sources foo.cxx bar.c sub1/car.cxx)