From df2c44401f8dd736a903e73813e5f83fb15b36b6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 5 Sep 2012 18:51:26 +0200 Subject: split away util, logger, and module made a liblogger adapted all tests --- tests/fetcher/GNUmakefile | 4 ++++ tests/fetcher/run.sh | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 tests/fetcher/run.sh (limited to 'tests/fetcher') 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 $* + -- cgit v1.2.3-54-g00ecf