From 161254324b5dc2f2391bc2923c611ba37790d80e Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Mon, 1 Sep 2008 21:16:41 +0000 Subject: [PATCH] Added package filter --- .../autotest_cgal_with_cmake | 41 +++++++++++++++---- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/Scripts/developer_scripts/autotest_cgal_with_cmake b/Scripts/developer_scripts/autotest_cgal_with_cmake index 394bb6f626d..53ce3bc9b29 100755 --- a/Scripts/developer_scripts/autotest_cgal_with_cmake +++ b/Scripts/developer_scripts/autotest_cgal_with_cmake @@ -63,6 +63,7 @@ PLATFORMS="" PLATFORM="" USE_REFERENCE_PLATFORMS="" SHOW_PROGRESS="" +LIST_TEST_PACKAGES="${CGAL_ROOT}/list_test_packages" # ---------------------------------------------------------------------------------------- # write to logfile @@ -428,6 +429,7 @@ build_cgal_on_host() PLATFORMS="`value_of BUILD_ON_${HOST}`" + if [ -z "${PLATFORMS}" ]; then PLATFORMS=`value_of COMPILERS_${HOST}` fi @@ -447,8 +449,8 @@ build_cgal_on_host() else CGAL_REFERENCE_CACHE_DIR="" fi - - log "${ACTUAL_LOGFILE}.${HOST}" "Building cgal libs on host ${HOST} and platform ${PLATFORM}\nUnder ${CGAL_BINARY_DIR}\nUsing reference cache directory ${CGAL_REFERENCE_CACHE_DIR}" + + log "${ACTUAL_LOGFILE}" "Building cgal libs on host ${HOST} and platform ${PLATFORM}\nUnder ${CGAL_BINARY_DIR}\nUsing reference cache directory ${CGAL_REFERENCE_CACHE_DIR}" if [ -f "${CGAL_BINARY_DIR}/localbuildscript" ] ; then log "${ACTUAL_LOGFILE}" "WARNING! Already built on platform ${PLATFORM}." @@ -480,7 +482,7 @@ ${MAKE_CMD} -k -fMakefile; cd ..; EOF chmod ugo+x "${CGAL_BINARY_DIR}/localbuildscript" - remote_command ${HOST} "${CGAL_BINARY_DIR}/localbuildscript" >> "${ACTUAL_LOGFILE}.${PLATFORM}" 2>&1 + remote_command ${HOST} "${CGAL_BINARY_DIR}/localbuildscript" > "${ACTUAL_LOGFILE}.${PLATFORM}" 2>&1 cp "${ACTUAL_LOGFILE}.${PLATFORM}" "${CGAL_BINARY_DIR}/installation.log" fi @@ -539,8 +541,6 @@ run_test_on_host_and_platform() else rm -f "${CGAL_BINARY_DIR}/localtestscript" fi - - cat >> "${CGAL_BINARY_DIR}/localtestscript" <