summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-17 11:24:02 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-17 11:25:58 -0400
commitc438738a753e36664618b1d60362e8216a5facb0 (patch)
treef12f802cd7086dea2569f8647aa3d66007fc68d7 /tests
parent63ea50be35afb6d7b9dbcd20fe3c31de6187858e (diff)
removed unnecessary t->flags |= TYPE_IS_RESOLVED;
and some other minor corrections
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 8adf412..4cb04dc 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -37,6 +37,11 @@ failed=false
do_tests() {
valgrind -q --exit-on-first-error=yes --error-exitcode=1 $TOC "$1.toc" -o out.c || exit 1
for CC in "gcc -O0 -g" "tcc" "clang -O3 -s"; do
+ if [ "$1" = "sizeof" ]; then
+ if [ "$CC" = "tcc" ]; then
+ continue # some versions of tcc don't have _Alignof
+ fi
+ fi
printf "Running test $1 with C compiler $CC... "
compile_c "$1"
./a.out > got