diff --git a/Installation/test/Installation/CMakeLists.txt b/Installation/test/Installation/CMakeLists.txt index c6508729b32..e54d1578930 100644 --- a/Installation/test/Installation/CMakeLists.txt +++ b/Installation/test/Installation/CMakeLists.txt @@ -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 diff --git a/Installation/test/Installation/cgal_test_with_cmake b/Installation/test/Installation/cgal_test_with_cmake index 44071897e35..8a20e3c0085 100755 --- a/Installation/test/Installation/cgal_test_with_cmake +++ b/Installation/test/Installation/cgal_test_with_cmake @@ -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