projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT...
[bertos.git]
/
bertos
/
run_tests.sh
diff --git
a/bertos/run_tests.sh
b/bertos/run_tests.sh
index 74b391508418d8bbb046f7c2cc300ee2887887a4..77689f48353b5a93f9057802fcc20cc55f44d582 100755
(executable)
--- a/
bertos/run_tests.sh
+++ b/
bertos/run_tests.sh
@@
-3,21
+3,22
@@
# Copyright 2005 Develer S.r.l. (http://www.develer.com/)
# All rights reserved.
#
# Copyright 2005 Develer S.r.l. (http://www.develer.com/)
# All rights reserved.
#
-# Author: Bern
ardo Innocenti <bernie@develer.com
>
+# Author: Bern
ie Innocenti <bernie@codewiz.org
>
#
# $Id$
#
#
# $Id$
#
-
VERBOSE=1
CC=gcc
VERBOSE=1
CC=gcc
-CFLAGS="-W -Wall -Wextra -I. -
fno-builtin -D_DEBUG -D_TEST
"
+CFLAGS="-W -Wall -Wextra -I. -
Iemul -std=gnu99 -fno-builtin -D_DEBUG -D_TEST -DARCH=ARCH_EMUL
"
CXX=g++
CXXFLAGS="$CFLAGS"
CXX=g++
CXXFLAGS="$CFLAGS"
-for test in `find . -name "*_test.*"`; do
+TESTS=${TESTS:-`find . -name "*_test.c*"`}
+
+for test in $TESTS; do
[ $VERBOSE -gt 0 ] && echo "Running $test..."
case "$test" in
*.cpp)
[ $VERBOSE -gt 0 ] && echo "Running $test..."
case "$test" in
*.cpp)