summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-05-31 18:44:04 +0100
committerVincent Sanders <vince@kyllikki.org>2019-05-31 18:44:04 +0100
commit295617b451df93734c36e18917589e31e9088c60 (patch)
tree46ec3fd049b2d3a27270d0d163a1e4bd6d409911 /test/Makefile
parentc47cc0888327d2d820b500ad31c17c932a94709a (diff)
downloadnetsurf-295617b451df93734c36e18917589e31e9088c60.tar.gz
netsurf-295617b451df93734c36e18917589e31e9088c60.tar.bz2
Fix test target use of logging config defines
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 85cc7c4e4..e92ece75d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -18,7 +18,7 @@ TESTS := \
NSURL_SOURCES := utils/nsurl/nsurl.c utils/nsurl/parse.c utils/idna.c \
utils/punycode.c
-# nsurl sources
+# nsurl test sources
nsurl_SRCS := $(NSURL_SOURCES) utils/corestrings.c test/log.c test/nsurl.c
# url database test sources
@@ -30,7 +30,7 @@ urldbtest_SRCS := $(NSURL_SOURCES) \
content/urldb.c \
test/log.c test/urldbtest.c
-# low level cache sources
+# low level cache test sources
llcache_SRCS := content/fetch.c content/fetchers/curl.c \
content/fetchers/about.c content/fetchers/data.c \
content/fetchers/resource.c content/llcache.c \
@@ -141,6 +141,8 @@ BASE_TESTCFLAGS := -std=c99 -g \
-D_XOPEN_SOURCE=600 \
-Itest -Iinclude -Icontent/handlers -Ifrontends -I. -I.. \
-Dnsgtk \
+ -DNETSURF_BUILTIN_LOG_FILTER=\"level:WARNING\" \
+ -DNETSURF_BUILTIN_VERBOSE_FILTER=\"level:DEBUG\" \
$(SAN_FLAGS) \
$(shell pkg-config --cflags libcurl libparserutils libwapcaplet libdom libnsutils libutf8proc) \
$(LIB_CFLAGS)