/[suikacvs]/markup/html/whatpm/t/Makefile
Suika

Contents of /markup/html/whatpm/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Sep 18 05:49:13 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.9: +13 -3 lines
++ whatpm/t/ChangeLog	18 Sep 2008 05:48:58 -0000
	* ContentChecker.t: Atom tests are moved to another file.

	* ContentChecker-Atom.t, LangTag.t: New test scripts.

	* Makefile: Updated to invoke new test scripts.

2008-09-18  Wakaba  <wakaba@suika.fam.cx>

1 WGET = wget
2 MKDIR = mkdir
3 RM = rm
4 RMALL = $(RM) -frv
5
6 all: \
7 content-type-files \
8 tokenizer-files \
9 tree-construction-files \
10 content-checker-files \
11 langtag-files
12
13 update: clean-remote-files \
14 tokenizer-remote-files \
15 tree-construction-remote-files
16
17 content-type-files: content-type-result.txt
18
19 content-type-result.txt: always
20 cd .. && perl t/ContentType.t &> t/$@
21
22 tokenizer-files: tokenizer-remote-files tokenizer-result.txt
23
24 tokenizer-remote-files: tokenizer \
25 tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \
26 tokenizer/escapeFlag.test \
27 tokenizer/test3.test \
28 tokenizer/test4.test \
29 tokenizer/xmlViolation.test \
30 tokenizer/entities.test \
31 tokenizer/LICENSE
32
33 tokenizer:
34 $(MKDIR) $@
35
36 tokenizer/%.test:
37 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
38
39 tokenizer/LICENSE:
40 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
41
42 tokenizer-result.txt: always
43 cd .. && perl t/HTML-tokenizer.t &> t/$@
44
45 tree-construction-files: tree-construction-remote-files \
46 tree-construction-result.txt
47
48 tree-construction-remote-files: tree-construction \
49 tree-construction/tests1.dat \
50 tree-construction/tests2.dat \
51 tree-construction/tests3.dat \
52 tree-construction/tests4.dat \
53 tree-construction/tests5.dat \
54 tree-construction/tests6.dat \
55 tree-construction/tests7.dat \
56 tree-construction/LICENSE
57
58 tree-construction:
59 $(MKDIR) $@
60
61 tree-construction/%.dat:
62 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
63
64 tree-construction/LICENSE:
65 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
66
67 tree-construction-result.txt: always
68 cd .. && perl t/HTML-tree.t &> t/$@
69
70 content-checker-files: content-checker-result.txt \
71 content-checker-atom-result.txt
72
73 content-checker-result.txt: always
74 cd .. && perl t/ContentChecker.t &> t/$@
75
76 content-checker-atom-result.txt: always
77 cd .. && perl t/ContentChecker-Atom.t &> t/$@
78
79 langtag-files: langtag-result.txt
80
81 langtag-result.txt: always
82 cd .. && perl t/LangTag.t &> t/$@
83
84 clean-remote-files:
85 $(RMALL) tokenizer/*.test tokenizer/LICENSE
86 $(RMALL) tree-construction/*.dat tree-construction/LICENSE
87
88 always:
89
90 ## License: Public Domain.
91 ## $Date: 2008/04/13 06:44:27 $

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24