summaryrefslogtreecommitdiff
path: root/test-build.sh
blob: ec63972cc4eda1b9f2fef87b7b68b660f5193142 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
echo "tcc -w main.c -o toc" && tcc -w main.c -o toc || exit 1
for CC in tcc gcc clang g++ ; do
	CC="$CC" CFLAGS='-Werror' ./build.sh || exit 1
	CC="$CC" CFLAGS='-Werror' ./build.sh release || exit 1
done
CC=''
CFLAGS='-Werror' ./build.sh release || exit 1
CFLAGS='-Werror' ./build.sh || exit 1