test/lib: build with -DEBUG
authorJeremy Kerr <jk@ozlabs.org>
Fri, 12 Jul 2013 06:25:07 +0000 (14:25 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 19 Aug 2013 05:27:59 +0000 (13:27 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/lib/Makefile.am

index bfcf9c25efaf98463c6905b01b6ca0cd18a45881..16052c62eb116818351959f44f9b07237537b52a 100644 (file)
@@ -16,10 +16,9 @@ AUTOMAKE_OPTIONS = parallel-tests
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib \
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib \
-       $(DEFAULT_CPPFLAGS)
+       -DDEBUG
 
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
+AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror
 
 list_test_SOURCES = list-test.c
 list_test_LDADD = ../../lib/libpbcore.la
 
 list_test_SOURCES = list-test.c
 list_test_LDADD = ../../lib/libpbcore.la