From bd802e763e5c035817a62114b957ed6778ad491f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 7 Jul 2015 16:02:54 +0100 Subject: Restructure test makefile to be called from main makefile This changes the make test to be executed from the main netsurf makefile instead of being standalone. It also fixes up the urldbtest to run. --- test/urldbtest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/urldbtest.c') diff --git a/test/urldbtest.c b/test/urldbtest.c index 4536ddd17..f72d77f07 100644 --- a/test/urldbtest.c +++ b/test/urldbtest.c @@ -46,7 +46,7 @@ #include "utils/utils.h" int option_expire_url = 0; -bool verbose_log = true; +struct netsurf_table *guit = NULL; static void netsurf_lwc_iterator(lwc_string *str, void *pw) { @@ -163,6 +163,8 @@ int main(void) nsurl *urlr; char *path_query; + verbose_log = true; + corestrings_init(); h = urldb_add_host("127.0.0.1"); -- cgit v1.2.3