diff --git a/tests/run.sh b/tests/run.sh index 9fa7aa0..98f0a23 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -1,11 +1,5 @@ #!/usr/bin/env bash -RED='\033[0;31m' -GREEN='\033[0;32m' -YELLOW='\033[0;33m' -BOLD='\033[1m' -NC='\033[0m' # No Color - wai=$(dirname $(readlink -f "$0")) # Current script directory tests=$(ls -d ${wai}/*/) # Find tests out=$(mktemp) @@ -21,7 +15,7 @@ do # Ensure timeout if [ $? -eq 124 ] then - printf "${RED}${BOLD}failed${NC}\n" + echo "failed :(" echo "------------- Test timeout (should not exceed ${test_timeout}s) -------------" cat "$out"; rm "$out" @@ -31,9 +25,9 @@ do # Ensure test output if [ "$(base64 $out)" = "$(base64 ./out)" ] then - printf "${GREEN}${BOLD}passed${NC}\n" + echo "passed" else - printf "${RED}${BOLD}failed${NC}\n" + echo "failed :(" echo "------------- Expected -------------" cat out echo "------------- Got -------------"