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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24