summaryrefslogtreecommitdiff
path: root/tests/test.sh
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-02-25 20:35:46 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-02-25 20:35:46 -0500
commit19eafbc01a492e8f1df25cef52678ed8f76d3e63 (patch)
treee818784215d9f7873e9495f003dd4cdaa09d5b63 /tests/test.sh
parentb1c2b4bcabfd3ff01921e2601d41a33b40ec1f3b (diff)
fixed bugs with new arg order system
also now struct parameters are "officially" part of the language
Diffstat (limited to 'tests/test.sh')
-rwxr-xr-xtests/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 9224ee3..4852218 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -10,6 +10,8 @@ compile() {
EXTRA_FLAGS="-Wno-builtin-declaration-mismatch"
elif [ "$CC" = "clang -O3 -s" ]; then
EXTRA_FLAGS="-Wno-builtin-requires-header"
+ elif [ "$CC" = "tcc" ]; then
+ EXTRA_FLAGS="-w"
fi
$CC $CFLAGS $EXTRA_FLAGS -o $DIR/$1/$1.bin $DIR/$1/$1.c || exit 1
}