/[suikacvs]/messaging/manakai/t/Makefile
Suika

Contents of /messaging/manakai/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Nov 15 14:18:24 2005 UTC (19 years ago) by wakaba
Branch: MAIN
Changes since 1.3: +28 -0 lines
++ manakai/t/ChangeLog	15 Nov 2005 14:18:08 -0000
2005-11-15  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Rules to make |dom-feature.t| and |dom-genericls.t|
	added.

++ manakai/bin/ChangeLog	15 Nov 2005 13:09:10 -0000
2005-11-15  Wakaba  <wakaba@suika.fam.cx>

	* dac2test.pl: Adds the module as |require|d module.

	* mkdisdump.pl: Requests |DOMLS:Generic| feature
	instead of obsoleted |DOMLS:LS| feature.

2005-11-13  Wakaba  <wakaba@suika.fam.cx>

	* dac2test.pl: New script.

++ manakai/lib/Message/Util/ChangeLog	15 Nov 2005 14:09:17 -0000
	* Makefile: Missing rule to make |Message/DOM/core.dae| added.

2005-11-15  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/Util/Error/ChangeLog	15 Nov 2005 14:17:04 -0000
2005-11-15  Wakaba  <wakaba@suika.fam.cx>

	* DOMException.dis (dx:Exception): Attributes copied
	from |ManakaiDOM:ManakaiDOMExceptionOrWarning|.

++ manakai/lib/Message/Util/DIS/ChangeLog	15 Nov 2005 14:16:32 -0000
	* Test.dis (assertNull, assertEquals, assertNotEquals,
	assertException): New methods.

2005-11-15  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	15 Nov 2005 13:12:17 -0000
	* DOMFeature.dis (MinimumImplementation.eq): Added.

	* DOMMain.dis: |DISPerl:ISA| reference fixed.

	* Generic.dis: Implements new |DOMLS:Generic| feature.

2005-11-15  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.3 MANAKAI_ROOT_DIR = ../
2     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4     MANAKAI_TEST_DIR = $(MANAKAI_ROOT_DIR)t/
5    
6     DIS_SUFFIX = .dis
7     DAC_SUFFIX = .dae
8     DAEM_SUFFIX = .daem
9    
10 wakaba 1.4 CD = cd
11     MAKE = make
12 wakaba 1.1 MKDIR = mkdir -p
13    
14 wakaba 1.2 RM = rm
15     RMALL = $(RM) -fv
16    
17 wakaba 1.1 TEST_VERBOSE = 0
18     INST_ARCHLIB = $(MANAKAI_ROOT_DIR)blib/arch
19     INST_LIB = $(MANAKAI_ROOT_DIR)blib/lib
20    
21 wakaba 1.3 PERL_OPTIONS =
22     PERL = perl
23     PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
24 wakaba 1.1 PERLC = $(PERL) -c
25 wakaba 1.3 PERLC_ = $(PERLC) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
26     PERL_TEST_ = $(PERL) \
27     $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) \
28     -MExtUtils::Command::MM \
29     -e "test_harness ($(TEST_VERBOSE), '$(INST_LIB)', \
30 wakaba 1.1 '$(INST_ARCHLIB)')"
31    
32 wakaba 1.3 DIS_OPTIONS =
33     DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
34     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
35     --dis-file-suffix="$(DIS_SUFFIX)" \
36     --daem-file-suffix="$(DAEM_SUFFIX)"
37    
38 wakaba 1.1 DOMTEST_TESTS_DIR = $(MANAKAI_ROOT_DIR)../domts/tests/
39 wakaba 1.3 DOMTEST_PERL_DIR = $(MANAKAI_TEST_DIR)dom/
40 wakaba 1.1 DOMTEST_FILE = *.xml
41    
42 wakaba 1.3 DOMTS2PERL_PL = $(MANAKAI_BIN_DIR)domts2perl.pl
43     DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL)
44     DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl
45 wakaba 1.1
46 wakaba 1.4 DAC2TEST_OPTIONS =
47     DAC2TEST_PL = $(MANAKAI_BIN_DIR)dac2test.pl
48     DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC2TEST_OPTIONS) $(DIS_OPTIONS_ALL)
49    
50     DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)
51     DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
52    
53     NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
54     NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
55    
56     GENERATED_FILES = dom-feature.t dom-genericls.t
57    
58     all: $(GENERATED_FILES)
59    
60 wakaba 1.1 dom1core-perl: $(DOMTS2PERL_PL)
61     $(MKDIR) $(DOMTEST_PERL_DIR)level1/core/
62 wakaba 1.3 $(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \
63     --output-directory="$(DOMTEST_PERL_DIR)level1/core/" \
64     --domtest2perl-path="$(DOMTEST2PERL_PL)"
65 wakaba 1.1
66     dom1core:
67     MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
68 wakaba 1.3 $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl
69 wakaba 1.2
70 wakaba 1.4 dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)
71     $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@
72    
73     dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
74     $(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@
75    
76     $(DOM_FEATURE_DAC) $(DOM_CORE_DAC): $(MANAKAI_LIB_DIR)Message/DOM/%: always
77     $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*
78    
79 wakaba 1.2 clean: clean-dom1core-perl
80 wakaba 1.4 $(RMALL) $(GENERATED_FILES)
81 wakaba 1.2
82     clean-dom1core-perl:
83     $(RMALL) $(DOMTEST_PERL_DIR)level1/core/*
84     $(RMALL) *~ .*~ *.BAK .*.BAK
85 wakaba 1.4
86     always:

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24