summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtokenautomaton/generateTokenizers.sh
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-04-17 14:06:06 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-04-17 14:06:06 (GMT)
commitf15b8a83e2e51955776a3f07cb85ebfc342dd8ef (patch)
treec5dc684986051654898db11ce73e03b9fec8db99 /tests/auto/qtokenautomaton/generateTokenizers.sh
downloadQt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.zip
Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.gz
Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.bz2
Initial import of statemachine branch from the old kinetic repository
Diffstat (limited to 'tests/auto/qtokenautomaton/generateTokenizers.sh')
-rwxr-xr-xtests/auto/qtokenautomaton/generateTokenizers.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qtokenautomaton/generateTokenizers.sh b/tests/auto/qtokenautomaton/generateTokenizers.sh
new file mode 100755
index 0000000..1fce40e
--- /dev/null
+++ b/tests/auto/qtokenautomaton/generateTokenizers.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+tokenizers=`find tokenizers/* -type d`
+for tokenizer in $tokenizers; do
+ pushd $tokenizer
+ basename=`basename $tokenizer`
+ xmllint --noout --schema ../../../../../src/xmlpatterns/qtokenautomaton/qtokenautomaton.xsd $basename.xml
+ java net.sf.saxon.Transform -xsl:../../../../../src/xmlpatterns/qtokenautomaton/qautomaton2cpp.xsl $basename.xml
+ popd
+done