summaryrefslogtreecommitdiff
path: root/test/urldbtest.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-07-07 16:02:54 +0100
committerVincent Sanders <vince@kyllikki.org>2015-07-07 16:02:54 +0100
commitbd802e763e5c035817a62114b957ed6778ad491f (patch)
treed2f3393d02254649cb0afe828c76eb12e1fe8ef9 /test/urldbtest.c
parentccfc2aeefa87400d506a59799933ad591e7d92ca (diff)
downloadnetsurf-bd802e763e5c035817a62114b957ed6778ad491f.tar.gz
netsurf-bd802e763e5c035817a62114b957ed6778ad491f.tar.bz2
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.
Diffstat (limited to 'test/urldbtest.c')
-rw-r--r--test/urldbtest.c4
1 files changed, 3 insertions, 1 deletions
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");