summaryrefslogtreecommitdiff
path: root/tests/test.sh
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-16 16:26:13 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-16 16:26:13 -0400
commitb7b3e0868b9eef1018f87bd1c81c0112abaf94f4 (patch)
treee9a754e867302b9949612fec639b7722967f94fc /tests/test.sh
parent35459f4ef5c9076a331acecd0c16328326c4081b (diff)
break, continue
Diffstat (limited to 'tests/test.sh')
-rwxr-xr-xtests/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh
index d30de7c..4016151 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -1,6 +1,7 @@
#!/bin/bash
tests='bf
+control_flow
arr
arr2
arr3
@@ -26,7 +27,7 @@ compile_c() {
elif [ "$CC" = "tcc" ]; then
EXTRA_FLAGS="-w"
fi
- $CC $CFLAGS $EXTRA_FLAGS -o a.out out.c || exit 1
+ $CC $CFLAGS $EXTRA_FLAGS -Werror -o a.out out.c || exit 1
}
do_tests() {