blob: be50549fa4b430cc3e1a3dfca5058984bf628fc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
TOPDIR = ../..
SUBDIRS =
INCLUDE_DIRS = \
-I$(TOPDIR)/src
INCLUDE_LDFLAGS =
INCLUDE_LIBS = \
$(TOPDIR)/src/libcrawlingwolf.a
TEST_CPP_BINS = \
test1$(EXE) \
test2$(EXE)
OBJS =
-include $(TOPDIR)/makefiles/gmake/sub.mk
local_all:
local_clean:
-@rm -f *.db *.db-journal 2>/dev/null
-@rm -f *.RES *.DIFF
local_distclean:
local_test:
@-./exec_test test1 test1 "parse illegal protocol" www.andreasbaumann.cc
@-./exec_test test1 test2 "parse normal start URL without slash" http://www.andreasbaumann.cc
@-./exec_test test1 test3 "parse normal start URL with slash" http://www.andreasbaumann.cc/
@-./exec_test test1 test4 "parse normal URL" http://www.andreasbaumann.cc/index.html
@-./exec_test test1 test5 "parse normal URL with default port" http://www.andreasbaumann.cc:80/index.html
@-./exec_test test1 test6 "parse normal URL with non-standard port" http://www.andreasbaumann.cc:8080/index.html
@-./exec_test test2 test100 "normalize a relative URL" http://www.andreasbaumann.cc/index.html /software.html
|