From: Michael Smith Date: Tue, 14 Aug 2007 00:32:51 +0000 (+0000) Subject: Made the smoketest make target also test a namespaced DocBook X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4685a83274a47be81f2ed70a56a3cc8aa0033c5;p=docbook-dsssl Made the smoketest make target also test a namespaced DocBook test file (in order to test the single-pass namespace-stripping support). --- diff --git a/xsl/Makefile.tests b/xsl/Makefile.tests index 6f2f425bb..7baa1b256 100644 --- a/xsl/Makefile.tests +++ b/xsl/Makefile.tests @@ -6,12 +6,16 @@ smoketest-normal: for file in $(NORMAL_STYLES); do \ echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $$file > /dev/null"; \ $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $$file > /dev/null; \ + echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $$file > /dev/null"; \ + $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $$file > /dev/null; \ done smoketest-normal-profile: for file in $(NORMAL_PROFILE_STYLES); do \ echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $$file > /dev/null"; \ $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $$file > /dev/null; \ + echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $$file > /dev/null"; \ + $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $$file > /dev/null; \ done smoketest-chunk: @@ -20,6 +24,8 @@ smoketest-chunk: for file in $(CHUNK_STYLES) $(HELP_STYLES) $(MAN_STYLES) ; do \ echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $(DOCBOOK_SVN)/xsl/$$file" ; \ (cd /tmp/docbook-xsl-smoketest && $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $(DOCBOOK_SVN)/xsl/$$file); \ + echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $(DOCBOOK_SVN)/xsl/$$file" ; \ + (cd /tmp/docbook-xsl-smoketest && $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $(DOCBOOK_SVN)/xsl/$$file); \ done; $(RM) -r /tmp/docbook-xsl-smoketest @@ -29,5 +35,7 @@ smoketest-chunk-profile: for file in $(CHUNK_PROFILE_STYLES) $(HELP_PROFILE_STYLES) $(MAN_PROFILE_STYLES) ; do \ echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $(DOCBOOK_SVN)/xsl/$$file" ; \ (cd /tmp/docbook-xsl-smoketest && $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile.xml $(DOCBOOK_SVN)/xsl/$$file); \ + echo "$(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $(DOCBOOK_SVN)/xsl/$$file" ; \ + (cd /tmp/docbook-xsl-smoketest && $(XSLT) $(DOCBOOK_SVN)/releasetools/testfile-ns.xml $(DOCBOOK_SVN)/xsl/$$file); \ done; $(RM) -r /tmp/docbook-xsl-smoketest