Add macro to compile test module.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 22 May 2008 08:42:06 +0000 (08:42 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 22 May 2008 08:42:06 +0000 (08:42 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1327 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/run_tests.sh

index 7edc89df78657e397a5860f8d38f96e4b7e302fe..74b391508418d8bbb046f7c2cc300ee2887887a4 100755 (executable)
 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