From: asterix Date: Thu, 22 May 2008 08:42:06 +0000 (+0000) Subject: Add macro to compile test module. X-Git-Tag: 2.0.0~607 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=e87c66b571895aa01947ddf64df1fe1b54fb5ffa;p=bertos.git Add macro to compile test module. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1327 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/run_tests.sh b/bertos/run_tests.sh index 7edc89df..74b39150 100755 --- a/bertos/run_tests.sh +++ b/bertos/run_tests.sh @@ -12,12 +12,11 @@ VERBOSE=1 CC=gcc -CFLAGS="-W -Wall -Wextra -I. -fno-builtin -D_DEBUG" +CFLAGS="-W -Wall -Wextra -I. -fno-builtin -D_DEBUG -D_TEST" CXX=g++ CXXFLAGS="$CFLAGS" - for test in `find . -name "*_test.*"`; do [ $VERBOSE -gt 0 ] && echo "Running $test..." case "$test" in