mirror of https://github.com/CGAL/cgal
testsuite webpage now has entries for libCGAL*
This commit is contained in:
parent
9155d47df8
commit
4ec2c7f37f
|
|
@ -721,7 +721,8 @@ set_dirs_dependant_on_cgal_dir()
|
|||
# ---------------------------------------------
|
||||
|
||||
# installation logfile (verbose)
|
||||
INSTALL_LOGFILE="${CGAL_DIR}/install.log"
|
||||
INSTALL_LOGFILE_BASE="${CGAL_DIR}/install.log"
|
||||
INSTALL_LOGFILE=${INSTALL_LOGFILE_BASE}
|
||||
|
||||
# installation logfile (only completed compile/test runs)
|
||||
# (Really Important Stuff)
|
||||
|
|
@ -4443,11 +4444,14 @@ install_menu()
|
|||
# USES: ii
|
||||
_build_one()
|
||||
{
|
||||
# use platform specific logfile
|
||||
CONFIG_BASENAME="`${_basename} \"$1\"`"
|
||||
INSTALL_LOGFILE="${INSTALL_LOGFILE_BASE}.${CONFIG_BASENAME}"
|
||||
log_to_file_and_screen
|
||||
log_print
|
||||
log_print \
|
||||
"--------------------------------------------------------"
|
||||
log_print "Build on `${_basename} \"$1\"`:"
|
||||
log_print "Build on ${CONFIG_BASENAME}:"
|
||||
log_print \
|
||||
"--------------------------------------------------------"
|
||||
log_to_file
|
||||
|
|
@ -4482,12 +4486,15 @@ _build_one()
|
|||
log_print "Cannot rebuild the library."
|
||||
print_filled_line
|
||||
print_empty_line
|
||||
print_headline "Cannot build on `${_basename} \"$1\"` !"
|
||||
print_headline "Cannot build on ${CONFIG_BASENAME} !"
|
||||
print_headline "No COMPILER defined in config/install/..."
|
||||
print_filled_line
|
||||
write_buffer "\n"
|
||||
flush_buffer
|
||||
fi
|
||||
# restore main logfile
|
||||
INSTALL_LOGFILE=${INSTALL_LOGFILE_BASE}
|
||||
log_to_file
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ remote_command()
|
|||
build_cgal_libs()
|
||||
{
|
||||
if [ -z "`value_of BUILD_ON_${1}`" ]; then
|
||||
eval BUILD_ON_${1}="`value_of COMPILERS_${1}`"
|
||||
eval "BUILD_ON_${1}=\"`value_of COMPILERS_${1}`\""
|
||||
fi
|
||||
if [ "`value_of BUILD_ON_${1}`" = "all" ]; then
|
||||
remote_command ${1} \
|
||||
|
|
@ -195,6 +195,7 @@ build_cgal_libs()
|
|||
>> ${ACTUAL_LOGFILE} 2>&1
|
||||
done
|
||||
fi
|
||||
cp ${CGAL_DIR}/install.log* ${CGAL_TEST_DIR}/
|
||||
}
|
||||
|
||||
#-----------------------------------------------
|
||||
|
|
@ -232,7 +233,6 @@ test_script()
|
|||
else
|
||||
MAKE_OPTS="-j ${NUMBER_OF_PROCESSORS}"
|
||||
fi
|
||||
|
||||
cat > ${CGAL_TEST_DIR}/localtestscript.${1} <<EOF
|
||||
CGAL_MAKEFILE=${CGAL_MAKE_DIR}/makefile_${2};
|
||||
CGAL_TESTER=${CGAL_TESTER};
|
||||
|
|
@ -242,6 +242,7 @@ export CGAL_MAKEFILE;
|
|||
export CGAL_TESTER CGAL_TESTER_NAME CGAL_TESTER_ADDRESS;
|
||||
rm -rf ${LOCAL_TEST_DIR};
|
||||
cp -r ${CGAL_TEST_DIR} ${LOCAL_TEST_DIR};
|
||||
cp install.log* ${LOCAL_TEST_DIR}
|
||||
cd ${LOCAL_TEST_DIR};
|
||||
nice ${NICE_OPTIONS} make ${MAKE_OPTS};
|
||||
echo 'COLLECTING RESULTS';
|
||||
|
|
|
|||
|
|
@ -69,6 +69,20 @@ do_platform()
|
|||
cat "${CGAL_DIR}/config/install/${PLATFORM}" >> $RESULT_FILE
|
||||
echo "------------" >> $RESULT_FILE
|
||||
|
||||
if [ -f install.log.${1} ] ; then
|
||||
grep -e "Compilation of .\+ ${2}" install.log.${1} \
|
||||
| awk '{ print $3 " " $4 " " $6; }' \
|
||||
| sed -e 's/succeeded\.$/y/' -e 's/failed\.$/n/' \
|
||||
| while read libname shared_or_static y_or_no; do
|
||||
mkdir "${libname}_${shared_or_static}"
|
||||
_buildlog_marker="build log for ${libname} ${shared_or_static} shown"
|
||||
cat install.log.$1 \
|
||||
| sed -n "/${_buildlog_marker} below/,/${_buildlog_marker} above/ p" \
|
||||
> ${libname}_${shared_or_static}/$TEST_REPORT
|
||||
echo ${libname}_${shared_or_static} $y_or_no >> $RESULT_FILE
|
||||
done
|
||||
fi
|
||||
|
||||
for DIR in $TEST_DIRECTORIES ; do
|
||||
if [ -d $DIR ] ; then
|
||||
echo " $DIR ..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue