From c438738a753e36664618b1d60362e8216a5facb0 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Tue, 17 Mar 2020 11:24:02 -0400 Subject: removed unnecessary t->flags |= TYPE_IS_RESOLVED; and some other minor corrections --- tests/test.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3