projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplifications from Grillo.
[bertos.git]
/
run_tests.sh
diff --git
a/run_tests.sh
b/run_tests.sh
index 0f8eb57b8f49ff924a829768aae4c7b2a116de61..a2199dcdbe0d4d36937c97e54cca36eea214e674 100755
(executable)
--- a/
run_tests.sh
+++ b/
run_tests.sh
@@
-8,6
+8,12
@@
# $Id$
#
# $Log$
# $Id$
#
# $Log$
+# Revision 1.3 2005/04/11 22:36:29 bernie
+# Fixes for sprintf_test.
+#
+# Revision 1.2 2005/02/28 10:46:44 bernie
+# Remove test binaries.
+#
# Revision 1.1 2005/02/01 06:59:24 bernie
# Really trivial testsuite framework.
#
# Revision 1.1 2005/02/01 06:59:24 bernie
# Really trivial testsuite framework.
#
@@
-16,10
+22,10
@@
VERBOSE=1
CC=gcc
VERBOSE=1
CC=gcc
-CFLAGS="-W -Wall -Wextra"
+CFLAGS="-W -Wall -Wextra
-I. -fno-builtin -D_DEBUG
"
CXX=g++
CXX=g++
-CXXFLAGS="
-W -Wall -Wextra
"
+CXXFLAGS="
$CFLAGS
"
for test in `find . -name "*_test.*"`; do
for test in `find . -name "*_test.*"`; do
@@
-28,10
+34,12
@@
for test in `find . -name "*_test.*"`; do
*.cpp)
$CXX $CXXFLAGS $test -o test || exit 1
./test || exit 1
*.cpp)
$CXX $CXXFLAGS $test -o test || exit 1
./test || exit 1
+ rm -f test
;;
*.c)
$CC $CFLAGS $test -o test || exit 1
./test || exit 1
;;
*.c)
$CC $CFLAGS $test -o test || exit 1
./test || exit 1
+ rm -f test
;;
esac
done
;;
esac
done