diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test.sh | 5 |
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 |