diff options
-rwxr-xr-x | tools/testlist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testlist b/tools/testlist index a4e7202..c42824f 100755 --- a/tools/testlist +++ b/tools/testlist @@ -2,12 +2,12 @@ SCRIPTDIR=`dirname $0` -grep "TEST_BEGIN" *.cc > tmp +grep -l "TEST_BEGIN" *.cc > tmp echo -n "TESTFILES=" while read LINE do - FILE=`echo $LINE | cut -d':' -f1` + FILE=$LINE NAME=`echo $FILE | cut -d'.' -f1` TEST=test_$NAME echo -ne "$TEST " @@ -17,7 +17,7 @@ echo "" while read LINE do - FILE=`echo $LINE | cut -d':' -f1` + FILE=$LINE NAME=`echo $FILE | cut -d'.' -f1` DEPS=`cat $FILE | grep "deps:" | cut -d':' -f2` LIBS=`cat $FILE | grep "libs:" | cut -d':' -f2` |