diff options
author | deva <deva> | 2010-05-18 12:01:09 +0000 |
---|---|---|
committer | deva <deva> | 2010-05-18 12:01:09 +0000 |
commit | dcb7fcca74e71d7fd46d79046381756af1c79404 (patch) | |
tree | 33bd0a711f02a739210faf6c6a82fed38dc577ff /tools | |
parent | 016e4ba553044edee32c2a20ee34463ad82106e8 (diff) |
More robust test list generation.
Diffstat (limited to 'tools')
-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` |