When testing, build with -DDEBUG.

This commit is contained in:
Emil Mikulic
2015-01-01 18:32:01 +11:00
parent 4bf0ef5896
commit 72c5539412
5 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ if [ ! -e test.py ]; then
fi
if [ \( ! -x a.out \) -o \( ../darkhttpd.c -nt a.out \) ]; then
echo "===> building a.out, darkhttpd.gcno"
$CC -g -O2 -fprofile-arcs -ftest-coverage ../darkhttpd.c || exit 1
$CC -g -O2 -fprofile-arcs -ftest-coverage -DDEBUG ../darkhttpd.c || exit 1
fi
if [ -e $DIR ]; then
rm -rf $DIR || exit 1