summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-09 09:59:21 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2017-09-09 09:59:28 (GMT)
commit1eb19587bf3d96712d8d3313ecb32e92e1fcbd30 (patch)
treed5289dc81605e070f2beff95665a1a91fc1a64b5
parent4837ffb0ad6099b9a301fc040ad0e99be681bec3 (diff)
downloadnetsurf-1eb19587bf3d96712d8d3313ecb32e92e1fcbd30.tar.gz
netsurf-1eb19587bf3d96712d8d3313ecb32e92e1fcbd30.tar.bz2
Fix up tests with nslog changes
-rw-r--r--test/data/Choices-all2
-rw-r--r--test/nsoption.c3
-rw-r--r--test/urldbtest.c3
3 files changed, 8 insertions, 0 deletions
diff --git a/test/data/Choices-all b/test/data/Choices-all
index b9cab1f..9f2e183 100644
--- a/test/data/Choices-all
+++ b/test/data/Choices-all
@@ -95,6 +95,8 @@ sys_colour_ThreeDShadow:d5d5d5
sys_colour_Window:f1f1f1
sys_colour_WindowFrame:4e4e4e
sys_colour_WindowText:000000
+log_filter:level:WARNING
+verbose_filter:level:VERBOSE
render_resample:1
downloads_clear:0
request_overwrite:1
diff --git a/test/nsoption.c b/test/nsoption.c
index 5874c94..8f2388a 100644
--- a/test/nsoption.c
+++ b/test/nsoption.c
@@ -39,6 +39,9 @@ const char *test_choices_all_path = "test/data/Choices-all";
const char *test_choices_full_path = "test/data/Choices-full";
const char *test_choices_missing_path = "test/data/Choices-missing";
+/* Stubs */
+nserror nslog_set_filter_by_options() { return NSERROR_OK; }
+
/**
* generate test output filenames
*/
diff --git a/test/urldbtest.c b/test/urldbtest.c
index 3cba883..620ce4c 100644
--- a/test/urldbtest.c
+++ b/test/urldbtest.c
@@ -77,6 +77,9 @@ struct test_urls {
#define NELEMS(x) (sizeof(x) / sizeof((x)[0]))
+/* Stubs */
+nserror nslog_set_filter_by_options() { return NSERROR_OK; }
+
/**
* generate test output filenames
*/