Turn off debug functions when testing
This commit is contained in:
parent
6c30e282ef
commit
6f463b17d3
2
ttest
2
ttest
@ -10,7 +10,7 @@ main()
|
|||||||
for suite in $files; do
|
for suite in $files; do
|
||||||
|
|
||||||
test_exec="${suite}est"
|
test_exec="${suite}est"
|
||||||
compiler_output=`cc -x c $suite -o $test_exec -Wall -Wextra -Werror -I $dir/include -I toolchain -DTTEST 2>&1`
|
compiler_output=`cc -x c $suite -o $test_exec -Wall -Wextra -Werror -I $dir/include -I toolchain -DNDEBUG -DTTEST 2>&1`
|
||||||
compiler_status=$?
|
compiler_status=$?
|
||||||
|
|
||||||
if [[ "$compiler_status" -eq "0" ]]; then
|
if [[ "$compiler_status" -eq "0" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user