summaryrefslogtreecommitdiff
path: root/tools/test
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test')
-rwxr-xr-xtools/test11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/test b/tools/test
index 0639ff1..09c2c81 100755
--- a/tools/test
+++ b/tools/test
@@ -7,8 +7,7 @@ DEFINE=TEST_$UPPER
COMPILE="g++ -g -Wall -Werror -D$DEFINE -o $OUTPUT $*"
-echo -e "\033[0;2m"
-echo Testing $TEST:
+echo -e "\033[0;2mTesting $TEST:"
echo Testing $TEST: > $OUTPUT.log
echo -n "* Compiling $TEST test"
@@ -16,20 +15,20 @@ echo Compiling $TEST test: > $OUTPUT.log
echo ${COMPILE} >> $OUTPUT.log
if ${COMPILE} >> ${OUTPUT}.log 2>&1; then
- echo -e " [\033[1;32mSuccess\033[0;2m]"
+ echo -e "\r\t\t\t\t\t\t[\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 -e " [\033[1;32mSuccess\033[0;2m]"
+ echo -e "\r\t\t\t\t\t\t[\033[1;32mSuccess\033[0;2m]"
echo "[Success]" >> $OUTPUT.log
else
- echo -e " [\033[1;31mFailure\033[0;2m]"
+ echo -e "\r\t\t\t\t\t\t[\033[1;31mFailure\033[0;2m]"
echo "[Failure]" >> $OUTPUT.log
fi
else
- echo -e " [\033[1;31mFailure\033[0;2m]"
+ echo -e "\r\t\t\t\t\t\t[\033[1;31mFailure\033[0;2m]"
echo "[Failure]" >> $OUTPUT.log
fi