From 2907b46b13633c64dd84daf3cc37da73e256e401 Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Thu, 2 Apr 2009 11:07:21 +0000 Subject: [PATCH] Remove log messages when using "-n". --- Scripts/developer_scripts/autotest_cgal_with_cmake | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Scripts/developer_scripts/autotest_cgal_with_cmake b/Scripts/developer_scripts/autotest_cgal_with_cmake index 1d89724a6bd..a683813049d 100755 --- a/Scripts/developer_scripts/autotest_cgal_with_cmake +++ b/Scripts/developer_scripts/autotest_cgal_with_cmake @@ -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