summaryrefslogtreecommitdiff
path: root/tests/url/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-07-28 18:07:26 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-07-28 18:07:26 +0200
commit3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044 (patch)
tree456ce7af97f65c94bcf30319c218b45ddab2632f /tests/url/GNUmakefile
parentcbec8f229bb4d995c9fb05babf176e82a6f6db7c (diff)
downloadcrawler-3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044.tar.gz
crawler-3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044.tar.bz2
started to add URL normalizers and testing environment for URLs
Diffstat (limited to 'tests/url/GNUmakefile')
-rw-r--r--tests/url/GNUmakefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/url/GNUmakefile b/tests/url/GNUmakefile
index e3913bd..81d7a0e 100644
--- a/tests/url/GNUmakefile
+++ b/tests/url/GNUmakefile
@@ -7,10 +7,12 @@ INCLUDE_DIRS = \
INCLUDE_LDFLAGS =
-INCLUDE_LIBS =
+INCLUDE_LIBS = \
+ $(TOPDIR)/src/libcrawlingwolf.a
TEST_CPP_BINS = \
- test1$(EXE)
+ test1$(EXE) \
+ test2$(EXE)
OBJS =
@@ -19,7 +21,11 @@ OBJS =
local_all:
local_clean:
+ -@rm -f *.db *.db-journal 2>/dev/null
+ -@rm -f *.RES *.DIFF
local_distclean:
local_test:
+ @-./exec_test test1 "output normal URL" http://www.andreasbaumann.cc/index.html
+ @-./exec_test test2 "normalize a relative URL" http://www.andreasbaumann.cc/index.html /software.html