From 6a1e57c8d8b65457924014df1d8b3b1e37270f78 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 29 Nov 2023 06:23:01 -0800 Subject: [PATCH] Minor improvements to 2005/giljade/test.sh Instead of grep -C5 it's now grep -C10 in case there's ever a compilation eror. Make it say 'successfully compiled' rather than just 'compiled'. --- 2005/giljade/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2005/giljade/test.sh b/2005/giljade/test.sh index 22220d3fc..8c3c636e3 100755 --- a/2005/giljade/test.sh +++ b/2005/giljade/test.sh @@ -44,13 +44,13 @@ elif [[ "$(grep -c '[^-]error' out.count)" -ne 0 ]]; then echo "FAIL: Error compiling one or more versions!" 1>&2 echo "Try the following command to find out what problems occurred:" 1>&2 echo 1>&2 - echo " grep -C5 -E '[^-]error' out.count" 1>&2 + echo " grep -C10 -E '[^-]error' out.count" 1>&2 echo 1>&2 echo "and feel free to report or fix it and make a GitHub pull request." 1>&2 EXIT_CODE=2 else # all good: every version could be compiled - echo "Found and compiled all 180 versions!" 1>&2 + echo "Found and successfully compiled all 180 versions!" 1>&2 # set EXIT_CODE to 0 even though it should be already EXIT_CODE=0 fi