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