diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-09-09 10:59:21 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-09-09 10:59:28 +0100 |
commit | 1eb19587bf3d96712d8d3313ecb32e92e1fcbd30 (patch) | |
tree | d5289dc81605e070f2beff95665a1a91fc1a64b5 /test | |
parent | 4837ffb0ad6099b9a301fc040ad0e99be681bec3 (diff) | |
download | netsurf-1eb19587bf3d96712d8d3313ecb32e92e1fcbd30.tar.gz netsurf-1eb19587bf3d96712d8d3313ecb32e92e1fcbd30.tar.bz2 |
Fix up tests with nslog changes
Diffstat (limited to 'test')
-rw-r--r-- | test/data/Choices-all | 2 | ||||
-rw-r--r-- | test/nsoption.c | 3 | ||||
-rw-r--r-- | test/urldbtest.c | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/test/data/Choices-all b/test/data/Choices-all index b9cab1fb3..9f2e18377 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 5874c94b6..8f2388a5b 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 3cba8835f..620ce4cb5 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 */ |