Remove log messages when using "-n".

This commit is contained in:
Sylvain Pion 2009-04-02 11:07:21 +00:00
parent c6fe5e3d8b
commit 2907b46b13
1 changed files with 6 additions and 4 deletions

View File

@ -787,7 +787,7 @@ do
fi
if [ "$arg" = "-n" ]; then
echo "Not testsuite will be launched. Compilation only."
# echo "No testsuite will be launched. Installation only."
DO_NOT_TEST="y"
fi
@ -891,9 +891,11 @@ build_cgal
if [ "${BUILD_HOSTS}" = "localhost" ]; then
TEXT="`value_of COMPILERS_localhost`"
if [ -z "${TEXT}" ]; then
printf "Skipping testing phase.\n"
DO_NOT_TEST="y"
if [ -z "${DO_NOT_TEST}" ]; then
if [ -z "${TEXT}" ]; then
printf "Skipping testing phase (use the -n option to remove this message).\n"
DO_NOT_TEST="y"
fi
fi
fi