summaryrefslogtreecommitdiff
path: root/tests/fetcher
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-05 18:51:26 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-05 18:51:26 +0200
commitdf2c44401f8dd736a903e73813e5f83fb15b36b6 (patch)
treeb845f54b2dbb3f14dab435d2640c58b7b85e7975 /tests/fetcher
parent43aaf39cc828f4e1cec12a944560571993fb24f7 (diff)
downloadcrawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.gz
crawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.bz2
split away util, logger, and module
made a liblogger adapted all tests
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 $*
+