*.{out=>apply} for test case apply-gen output
parent
1c01e765a7
commit
8a204534f0
|
@ -1,3 +1,3 @@
|
||||||
/test/index.html
|
/test/index.html
|
||||||
/test/**/xspec/
|
/test/**/xspec/
|
||||||
*.out
|
*.apply
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -19,7 +19,7 @@
|
||||||
path_src := src
|
path_src := src
|
||||||
path_test := test
|
path_test := test
|
||||||
|
|
||||||
test_in_apply_gen := $(path_test)/transform/apply-gen-test-in.xsl.out
|
test_in_apply_gen := $(path_test)/transform/apply-gen-test-in.xsl.apply
|
||||||
|
|
||||||
.PHONY: check test
|
.PHONY: check test
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ test: check
|
||||||
check: $(test_in_apply_gen)
|
check: $(test_in_apply_gen)
|
||||||
$(path_test)/runner
|
$(path_test)/runner
|
||||||
|
|
||||||
%.xsl.out: %.xsl
|
%.apply: %
|
||||||
java -jar "$(SAXON_CP)" \
|
java -jar "$(SAXON_CP)" \
|
||||||
-xsl:"$(path_src)/transform/apply-gen.xsl" \
|
-xsl:"$(path_src)/transform/apply-gen.xsl" \
|
||||||
"$<" > "$@"
|
"$<" > "$@"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
<!-- N.B. it is expected tha a build process has already built this
|
<!-- N.B. it is expected tha a build process has already built this
|
||||||
document before running this test -->
|
document before running this test -->
|
||||||
<import href="apply-gen-test-in.xsl.out" />
|
<import href="apply-gen-test-in.xsl.apply" />
|
||||||
|
|
||||||
|
|
||||||
<function name="foo:apply-add-two">
|
<function name="foo:apply-add-two">
|
||||||
|
|
Loading…
Reference in New Issue