From 1c2368f23c47baf365679a6b18bd1a900f80c130 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 18 Aug 2017 05:08:17 +0200 Subject: travis-ci: don't display vests log --- dist/linux/buildtest.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'dist/linux') diff --git a/dist/linux/buildtest.sh b/dist/linux/buildtest.sh index c97e9370c..a781e6ca0 100755 --- a/dist/linux/buildtest.sh +++ b/dist/linux/buildtest.sh @@ -6,6 +6,8 @@ disable_color # Stop in case of error set -e +echo "$@" + # Transform long options to short ones for arg in "$@"; do shift @@ -42,11 +44,14 @@ cd "build-$BLD" #--- +echo "travis_fold:start:env.$TASK" printf "$ANSI_BLUE[$TASK| GHDL] Environment $ANSI_NOCOLOR\n" env +echo "travis_fold:end:env.$TASK" #--- +echo "travis_fold:start:configure.$TASK" printf "$ANSI_BLUE[$TASK| GHDL - build] Configure $ANSI_NOCOLOR\n" case "$BLD" in mcode) @@ -75,6 +80,7 @@ case "$BLD" in printf "$ANSI_RED[$TASK| GHDL - build] Unknown build $BLD $ANSI_NOCOLOR\n" exit 1;; esac +echo "travis_fold:end:configure.$TASK" #--- @@ -113,7 +119,14 @@ echo "travis_fold:end:tests.gna.$TASK" echo "travis_fold:start:tests.vests.$TASK" printf "$ANSI_BLUE[$TASK| GHDL - test] vests $ANSI_NOCOLOR\n" cd vests -./testsuite.sh +if ./testsuite.sh > vests.log 2>&1 ; then + echo "${ANSI_GREEN}Vests is OK$ANSI_NOCOLOR" + wc -l vests.log +else + cat vests.log + echo "${ANSI_RED}Vests failure$ANSI_NOCOLOR" + exit 1 +fi cd .. echo "travis_fold:end:tests.vests.$TASK" -- cgit v1.2.3