From 850cc24ea29e3eeee34c72c7d2074b21c45ad11f Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Tue, 22 Dec 2009 04:33:42 +0100 Subject: [PATCH] include the name of the .test file into the ,testlog --- tests/test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index 8cfcf87..7033361 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -261,7 +261,7 @@ function TESTING() { echo echo "$1" - echo -e "\n#### $1, $2" >>,testlog + echo -e "\n#### $1, $TESTFILE, $2" >>,testlog TESTBIN="$2" } @@ -606,11 +606,11 @@ function RUNTESTS() for t in $(eval echo "$TESTDIR/*$TESTSUITES*.tests"); do echo "$t" done | sort | uniq | { - while read i; do + while read TESTFILE; do echo - echo "### $i" >&2 - if test -f $i; then - source $i + echo "### $TESTFILE" >&2 + if test -f $TESTFILE; then + source $TESTFILE fi done echo -- 2.11.4.GIT