From 295617b451df93734c36e18917589e31e9088c60 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 31 May 2019 18:44:04 +0100 Subject: Fix test target use of logging config defines --- test/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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) -- cgit v1.2.3