diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 18:51:26 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 18:51:26 +0200 |
commit | df2c44401f8dd736a903e73813e5f83fb15b36b6 (patch) | |
tree | b845f54b2dbb3f14dab435d2640c58b7b85e7975 /tests/url | |
parent | 43aaf39cc828f4e1cec12a944560571993fb24f7 (diff) | |
download | crawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.gz crawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.bz2 |
split away util, logger, and module
made a liblogger
adapted all tests
Diffstat (limited to 'tests/url')
-rw-r--r-- | tests/url/GNUmakefile | 6 | ||||
-rwxr-xr-x | tests/url/exec_test | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/url/GNUmakefile b/tests/url/GNUmakefile index 47812da..e99e178 100644 --- a/tests/url/GNUmakefile +++ b/tests/url/GNUmakefile @@ -8,10 +8,13 @@ SUBDIRS = INCLUDE_DIRS = \ -I$(TOPDIR)/src \ -I$(TOPDIR)/src/modules/urlnormalizer/simpleurl \ - -I$(TOPDIR)/src/modules/urlnormalizer/googleurl + -I$(TOPDIR)/src/modules/urlnormalizer/googleurl \ + -I$(TOPDIR)/include/module \ + -I$(TOPDIR)/include/util INCLUDE_LDFLAGS = \ -L$(TOPDIR)/src \ + -L$(TOPDIR)/src/logger \ -L$(TOPDIR)/googleurl INCLUDE_LIBS = \ @@ -20,6 +23,7 @@ INCLUDE_LIBS = \ $(TOPDIR)/src/modules/urlnormalizer/googleurl/libgoogleurlnormalizer.a \ -lgoogleurl \ -lcrawler \ + -llogger \ -licui18n -licuuc TEST_CPP_BINS = \ diff --git a/tests/url/exec_test b/tests/url/exec_test index 2343af8..5ad22e1 100755 --- a/tests/url/exec_test +++ b/tests/url/exec_test @@ -8,5 +8,5 @@ TITLE=$1 shift printf "$ID: $TITLE .. " -LD_LIBRARY_PATH=../../src:../../googleurl ./$BINARY $* >$ID.RES 2>&1 +LD_LIBRARY_PATH=../../src:../../src/logger:../../googleurl ./$BINARY $* >$ID.RES 2>&1 diff $ID.MUST $ID.RES > $ID.DIFF && printf "OK\n" || printf "ERROR\n" |