summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/test9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/test b/tools/test
index 7e15b3d..0639ff1 100755
--- a/tools/test
+++ b/tools/test
@@ -7,6 +7,7 @@ DEFINE=TEST_$UPPER
COMPILE="g++ -g -Wall -Werror -D$DEFINE -o $OUTPUT $*"
+echo -e "\033[0;2m"
echo Testing $TEST:
echo Testing $TEST: > $OUTPUT.log
@@ -15,20 +16,20 @@ echo Compiling $TEST test: > $OUTPUT.log
echo ${COMPILE} >> $OUTPUT.log
if ${COMPILE} >> ${OUTPUT}.log 2>&1; then
- echo " [Success]"
+ echo -e " [\033[1;32mSuccess\033[0;2m]"
echo "[Success]" >> $OUTPUT.log
echo -n "* Running $TEST test"
echo Running $TEST test: >> $OUTPUT.log
if ./$OUTPUT >> $OUTPUT.log 2>&1; then
- echo " [Success]"
+ echo -e " [\033[1;32mSuccess\033[0;2m]"
echo "[Success]" >> $OUTPUT.log
else
- echo " [Failure]"
+ echo -e " [\033[1;31mFailure\033[0;2m]"
echo "[Failure]" >> $OUTPUT.log
fi
else
- echo " [Failure]"
+ echo -e " [\033[1;31mFailure\033[0;2m]"
echo "[Failure]" >> $OUTPUT.log
fi