summaryrefslogtreecommitdiff
path: root/tests/runtests.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.sh.in')
-rwxr-xr-xtests/runtests.sh.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/runtests.sh.in b/tests/runtests.sh.in
index 897cd120..0c3466e2 100755
--- a/tests/runtests.sh.in
+++ b/tests/runtests.sh.in
@@ -1,8 +1,11 @@
-#! /bin/sh
+#! @SHELL@
LOGFILE=runtests.log
POTENTIAL_TESTS='testboundaries testcolor'
+ECHO_C='@ECHO_C@'
+ECHO_N='@ECHO_N@'
+
for I in $POTENTIAL_TESTS
do
GOOD=yes
@@ -32,7 +35,7 @@ echo "" >> $LOGFILE
for I in $TESTS
do
- echo -n "Running test program \"$I\", please wait:"
+ echo $ECHO_N "Running test program \"$I\", please wait:$ECHO_C"
echo "" >> $LOGFILE
echo "Output of $I:" >> $LOGFILE
if ./$I >>$LOGFILE 2>&1; then