Define TTEST when ttesting. Also allow multiple assertions per test

This commit is contained in:
2017-12-03 23:38:33 +01:00
parent 1b80c00658
commit cfa1a15076
2 changed files with 8 additions and 4 deletions

2
ttest
View File

@@ -14,7 +14,7 @@ main()
echo "tt_test tt_tests[] = {${tests}0};" >> $suite.c
test_exec=`mktemp`
compiler_output=`cc $suite.c -o $test_exec -ggdb -I $dir/include 2>&1`
compiler_output=`cc $suite.c -o $test_exec -ggdb -I $dir/include -DTTEST 2>&1`
compiler_status=$?
echo -e "\x1b[35m$suite\x1b[0m"