summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-07-30 12:19:07 +0000
committerdeva <deva>2009-07-30 12:19:07 +0000
commitaa50b2d85f386d02ac01e5bf0b1ae04df7018a07 (patch)
treec2439b3fadde7c1a44906d75c6b047a45f51d7e8
parentf249acf5a12ec0a40584042354a4054343dc6425 (diff)
Some layout tweaks on the test script.
-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