mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-27 14:03:36 +03:00
Some more adjustments.
* xstc/Makefile.am: Some more adjustments.
This commit is contained in:
parent
34b9a9c063
commit
d8e10448d1
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jun 13 14:58:33 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||||
|
|
||||||
|
* xstc/Makefile.am: Some more adjustments.
|
||||||
|
|
||||||
Mon Jun 13 14:35:59 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
Mon Jun 13 14:35:59 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||||
|
|
||||||
* xstc/Makefile.am: Changed test extraction process, since some
|
* xstc/Makefile.am: Changed test extraction process, since some
|
||||||
|
@ -28,7 +28,7 @@ all:
|
|||||||
#
|
#
|
||||||
# Rule to load the test description and extract the informations
|
# Rule to load the test description and extract the informations
|
||||||
#
|
#
|
||||||
$(TESTDIRS) Tests/$(NISTTESTDEF_2) Tests/$(MSTTESTDEF) Tests/$(SUNTESTDEF):
|
$(TESTDIRS) Tests/Metadata/$(NISTTESTDEF_2) Tests/Metadata/$(MSTTESTDEF) Tests/Metadata/$(SUNTESTDEF):
|
||||||
-@(if [ ! -d Tests ] ; then \
|
-@(if [ ! -d Tests ] ; then \
|
||||||
mkdir Tests ; \
|
mkdir Tests ; \
|
||||||
fi)
|
fi)
|
||||||
@ -50,6 +50,8 @@ $(TESTDIRS) Tests/$(NISTTESTDEF_2) Tests/$(MSTTESTDEF) Tests/$(SUNTESTDEF):
|
|||||||
-@(if [ -f $(TARBALL) ] ; then \
|
-@(if [ -f $(TARBALL) ] ; then \
|
||||||
echo -n "extracting test data (Sun, Microsoft)..." ; \
|
echo -n "extracting test data (Sun, Microsoft)..." ; \
|
||||||
$(TAR) -C Tests -xzf $(TARBALL) '*/suntest' '*/msxsdtest' '*/$(MSTESTDEF)' '*/$(SUNTESTDEF)' ; \
|
$(TAR) -C Tests -xzf $(TARBALL) '*/suntest' '*/msxsdtest' '*/$(MSTESTDEF)' '*/$(SUNTESTDEF)' ; \
|
||||||
|
if [ -d Tests/suntest ] ; then rm -r Tests/suntest ; fi ; \
|
||||||
|
if [ -d Tests/msxsdtest ] ; then rm -r Tests/msxsdtest ; fi ; \
|
||||||
mv Tests/xmlschema2002-01-16/* Tests ; \
|
mv Tests/xmlschema2002-01-16/* Tests ; \
|
||||||
mv Tests/*.testSet Tests/Metadata ; \
|
mv Tests/*.testSet Tests/Metadata ; \
|
||||||
rm -r Tests/xmlschema2002-01-16 ; \
|
rm -r Tests/xmlschema2002-01-16 ; \
|
||||||
@ -59,7 +61,7 @@ $(TESTDIRS) Tests/$(NISTTESTDEF_2) Tests/$(MSTTESTDEF) Tests/$(SUNTESTDEF):
|
|||||||
#
|
#
|
||||||
# The python tests are generated via XSLT
|
# The python tests are generated via XSLT
|
||||||
#
|
#
|
||||||
nist-test.py: Tests/$(NISTTESTDEF_2) xstc-to-python.xsl
|
nist-test.py: Tests/Metadata/$(NISTTESTDEF_2) xstc-to-python.xsl
|
||||||
-@(if [ -x $(XSLTPROC) ] ; then \
|
-@(if [ -x $(XSLTPROC) ] ; then \
|
||||||
echo "Rebuilding script (NIST)" $@ ; \
|
echo "Rebuilding script (NIST)" $@ ; \
|
||||||
$(XSLTPROC) --nonet --stringparam vendor NIST-2 \
|
$(XSLTPROC) --nonet --stringparam vendor NIST-2 \
|
||||||
@ -67,7 +69,7 @@ nist-test.py: Tests/$(NISTTESTDEF_2) xstc-to-python.xsl
|
|||||||
$(srcdir)/Tests/Metadata/$(NISTTESTDEF_2) > $@ ; \
|
$(srcdir)/Tests/Metadata/$(NISTTESTDEF_2) > $@ ; \
|
||||||
chmod +x $@ ; fi )
|
chmod +x $@ ; fi )
|
||||||
|
|
||||||
ms-test.py: Tests/$(MSTTESTDEF) xstc-to-python.xsl
|
ms-test.py: Tests/Metadata/$(MSTTESTDEF) xstc-to-python.xsl
|
||||||
-@(if [ -x $(XSLTPROC) ] ; then \
|
-@(if [ -x $(XSLTPROC) ] ; then \
|
||||||
echo "Rebuilding script (Microsoft)" $@ ; \
|
echo "Rebuilding script (Microsoft)" $@ ; \
|
||||||
$(XSLTPROC) --nonet --stringparam vendor MS \
|
$(XSLTPROC) --nonet --stringparam vendor MS \
|
||||||
@ -75,7 +77,7 @@ ms-test.py: Tests/$(MSTTESTDEF) xstc-to-python.xsl
|
|||||||
$(srcdir)/Tests/Metadata/$(MSTESTDEF) > $@ ; \
|
$(srcdir)/Tests/Metadata/$(MSTESTDEF) > $@ ; \
|
||||||
chmod +x $@ ; fi )
|
chmod +x $@ ; fi )
|
||||||
|
|
||||||
sun-test.py: Tests/$(SUNTESTDEF) xstc-to-python.xsl
|
sun-test.py: Tests/Metadata/$(SUNTESTDEF) xstc-to-python.xsl
|
||||||
-@(if [ -x $(XSLTPROC) ] ; then \
|
-@(if [ -x $(XSLTPROC) ] ; then \
|
||||||
echo "Rebuilding script (Sun)" $@ ; \
|
echo "Rebuilding script (Sun)" $@ ; \
|
||||||
$(XSLTPROC) --nonet --stringparam vendor SUN \
|
$(XSLTPROC) --nonet --stringparam vendor SUN \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user