summaryrefslogtreecommitdiff
path: root/tests/fetcher
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fetcher')
-rw-r--r--tests/fetcher/GNUmakefile4
-rwxr-xr-xtests/fetcher/run.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fetcher/GNUmakefile b/tests/fetcher/GNUmakefile
index d6fa6ad..a3fc685 100644
--- a/tests/fetcher/GNUmakefile
+++ b/tests/fetcher/GNUmakefile
@@ -7,17 +7,21 @@ SUBDIRS =
INCLUDE_DIRS = \
-I$(TOPDIR)/src \
+ -I$(TOPDIR)/include/util \
+ -I$(TOPDIR)/include/module \
-I$(TOPDIR)/src/modules/urlnormalizer/simpleurl \
-I$(TOPDIR)/src/modules/fetcher/libfetch
INCLUDE_LDFLAGS = \
-L$(TOPDIR)/src \
+ -L$(TOPDIR)/src/logger \
-L$(TOPDIR)/libfetch
INCLUDE_LIBS = \
$(TOPDIR)/src/modules/urlnormalizer/simpleurl/libsimpleurlnormalizer.a \
$(TOPDIR)/src/modules/fetcher/libfetch/liblibfetchfetcher.a \
-lcrawler \
+ -llogger \
-lfetch
# openssl
diff --git a/tests/fetcher/run.sh b/tests/fetcher/run.sh
new file mode 100755
index 0000000..7a10182
--- /dev/null
+++ b/tests/fetcher/run.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+LD_LIBRARY_PATH=../../src:../../src/logger:../../libfetch ./test1 $*
+