ENH: add test for conv libraries
This commit is contained in:
parent
09699018cc
commit
303048d3dc
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue