This commit is contained in:
Maxime Gimeno 2020-08-07 09:07:58 +02:00
parent 6ffb10a71c
commit 7a91e29d3e
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ if ( CGAL_BRANCH_BUILD )
COMMAND ${CMAKE_COMMAND} -DCGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE=ON -DCGAL_DIR=${CGAL_DIR_CORRECT_PATH} -DCGAL_GIVEN_DIR=${CGAL_DIR_CORRECT_PATH}
"${CMAKE_CURRENT_BINARY_DIR}/test_config_file"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/build-test_config_file_2")
elseif(RUNNING_CGAL_AUTO_TEST)#CGAL_BRANCH_BUILD
elseif(RUNNING_CGAL_AUTO_TEST OR CGAL_TEST_SUITE)#CGAL_BRANCH_BUILD
#test CGAL_DIR = CGAL-5.x/lib/cmake/CGAL
get_filename_component(CGAL_DIR_CORRECT_PATH "${CGAL_SOURCE_DIR}/lib/cmake/CGAL/CMakeConfig.cmake" DIRECTORY)
add_test(NAME test_config_file_2

View File

@ -41,7 +41,7 @@ touch $ERRORFILE
#---------------------------------------------------------------------#
cd build_dir
ctest -L Installation_Tests -VV |tee tmp.txt
ctest -L Installation_Tests -VV |tee res.txt
SUCCES="y"
FAILED=$(cat res.txt|grep -i ***Failed)
if [ -z "$FAILED" ]; then