Make ttest compile under clang

This commit is contained in:
thomas committed 2018-03-20 14:11:21 +01:00
1 parent ad74123882
commit 826885df8a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ main()
local tests=`sed -n -e 's/^\s*TEST(\([^,]*,\).*$/ttt_\1/p' $suite`
echo "tt_test tt_tests[] = {${tests}0};" >> $suite.c
test_exec=`mktemp`
test_exec=`mktemp /tmp/tmp.XXXXXX`
compiler_output=`cc $suite.c -o $test_exec -ggdb -I $dir/include -DTTEST 2>&1`
compiler_status=$?