3 # Copyright 2005 Develer S.r.l. (http://www.develer.com/)
6 # Author: Bernie Innocenti <bernie@codewiz.org>
15 CFLAGS="-W -Wall -Wextra -I. -Iemul -std=gnu99 -fno-builtin -D_DEBUG -D_TEST -DARCH=ARCH_EMUL"
20 TESTS=${TESTS:-`find . -name "*_test.*"`}
22 for test in $TESTS; do
23 [ $VERBOSE -gt 0 ] && echo "Running $test..."
26 $CXX $CXXFLAGS $test -o test || exit 1
31 $CC $CFLAGS $test -o test || exit 1