From 6f463b17d3da819a7a6c59ea4d4307eb34e60dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Thu, 15 Feb 2018 10:13:19 +0100 Subject: [PATCH] Turn off debug functions when testing --- ttest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttest b/ttest index 8f0c047..6479423 100755 --- a/ttest +++ b/ttest @@ -10,7 +10,7 @@ main() for suite in $files; do 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=$? if [[ "$compiler_status" -eq "0" ]]; then