diff options
author | Honglei Zhang <honglei.zhang@nokia.com> | 2011-08-22 11:42:41 (GMT) |
---|---|---|
committer | Honglei Zhang <honglei.zhang@nokia.com> | 2011-08-24 11:20:20 (GMT) |
commit | 33f65993866e3eb2a80001f1b53f38dbfc7017ce (patch) | |
tree | a55a42043aca2435a80f5270331e0c2c1ed94495 /tests/auto/xmlpatternsschemats/TESTSUITE | |
parent | 49dd6e2978759a3fc46016d82a46d8ee8b609221 (diff) | |
download | Qt-33f65993866e3eb2a80001f1b53f38dbfc7017ce.zip Qt-33f65993866e3eb2a80001f1b53f38dbfc7017ce.tar.gz Qt-33f65993866e3eb2a80001f1b53f38dbfc7017ce.tar.bz2 |
Enable running of XQuery test suite
Some xmlpatterns auto test cases are still using old script. And some
small bugs in test driver prevent the XQuery test suite testing. This
commit updated the out-of-date scripts and fixes couple of bugs in test
driver.
Task-number: QTBUG-16028
Reviewed-by: Dmitry Trofimov
Diffstat (limited to 'tests/auto/xmlpatternsschemats/TESTSUITE')
-rwxr-xr-x | tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh b/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh index 0297db5..a61f0a1 100755 --- a/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh +++ b/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh @@ -44,6 +44,9 @@ # # NOTE: the files checked out CANNOT be added to Qt's # repository at the moment, due to legal complications. +# +# To run the script, Saxon package version 9 and above shall be installed +# DIRECTORY_NAME="xmlschema2006-11-06" ARCHIVE_NAME="xsts-2007-06-20.tar.gz" @@ -54,7 +57,10 @@ wget http://www.w3.org/XML/2004/xml-schema-test-suite/xmlschema2006-11-06/$ARCHI tar -xzf $ARCHIVE_NAME rm $ARCHIVE_NAME -CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public cvs login -CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public cvs checkout -d xmlschema2006-11-06-new XML/xml-schema-test-suite/2004-01-14/xmlschema2006-11-06 +# cvs script is used to retrive newer version of test suite. +#CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public cvs login +#CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public cvs checkout -d xmlschema2006-11-06-new XML/xml-schema-test-suite/2004-01-14/xmlschema2006-11-06 + +#Saxon need to be installed before the following command works. +java -jar /usr/share/java/saxon.jar -xsl:unifyCatalog.xsl -s:$DIRECTORY_NAME/suite.xml > testSuites.xml -java net.sf.saxon.Transform -xsl:unifyCatalog.xsl $DIRECTORY_NAME/suite.xml > testSuites.xml |