Correct filenames in test error output

This commit is contained in:
Thomas Lovén 2017-12-01 21:35:45 +01:00
parent faaedb212d
commit 337d2cb032

2
ttest
View File

@ -15,7 +15,7 @@ main()
echo "tt_test tt_tests[] = {${tests}0};" >> $f.c echo "tt_test tt_tests[] = {${tests}0};" >> $f.c
outfile=`mktemp` outfile=`mktemp`
cc $f.c -o $outfile -ggdb -I $dir/include cc $f.c -o $outfile -ggdb -I $dir/include 2>&1 | sed -e 's/\.tt\.c:/\.tt:/'
$outfile $f $outfile $f
rm $f.c $outfile rm $f.c $outfile
done done