*.{out=>apply} for test case apply-gen output

master
Mike Gerwitz 2014-11-24 11:08:24 -05:00
parent 1c01e765a7
commit 8a204534f0
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/test/index.html /test/index.html
/test/**/xspec/ /test/**/xspec/
*.out *.apply

View File

@ -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" \
"$<" > "$@" "$<" > "$@"

View File

@ -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">