summaryrefslogtreecommitdiffstats
path: root/test/w3c/convert-tests.sh
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-10-12 11:11:06 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-10-12 11:11:06 (GMT)
commitfa90b5749693d9f5817ad1f106334a0877171fd3 (patch)
tree8d53b5c820590cad54893bc575ef55df38f55d23 /test/w3c/convert-tests.sh
parentc36b123a60278caef5d06e8a7d0b3d338d669c75 (diff)
downloaduscxml-fa90b5749693d9f5817ad1f106334a0877171fd3.zip
uscxml-fa90b5749693d9f5817ad1f106334a0877171fd3.tar.gz
uscxml-fa90b5749693d9f5817ad1f106334a0877171fd3.tar.bz2
Major work on PROMELA datamodel
Diffstat (limited to 'test/w3c/convert-tests.sh')
-rwxr-xr-xtest/w3c/convert-tests.sh31
1 files changed, 21 insertions, 10 deletions
diff --git a/test/w3c/convert-tests.sh b/test/w3c/convert-tests.sh
index ea624ea..48aa452 100755
--- a/test/w3c/convert-tests.sh
+++ b/test/w3c/convert-tests.sh
@@ -5,26 +5,37 @@ cd $DIR
TXMLS=`ls txml/*.txml`
# see http://saxon.sourceforge.net/saxon6.5.1/using-xsl.html
-for TXML in $TXMLS
-do
- DEST=ecma/`basename $TXML .txml`.scxml
- echo "Processing $TXML to $DEST"
- java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confEcma.xsl -o:$DEST
-done
+# for TXML in $TXMLS
+# do
+# DEST=ecma/`basename $TXML .txml`.scxml
+# echo "Processing $TXML to $DEST"
+# java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confEcma.xsl -o:$DEST
+# done
+#
+# for TXML in $TXMLS
+# do
+# DEST=xpath/`basename $TXML .txml`.scxml
+# echo "Processing $TXML to $DEST"
+# java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confXPath.xsl -o:$DEST
+# done
for TXML in $TXMLS
do
- DEST=xpath/`basename $TXML .txml`.scxml
+ DEST=promela/`basename $TXML .txml`.scxml
echo "Processing $TXML to $DEST"
- java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confXPath.xsl -o:$DEST
+ java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confPromela.xsl -o:$DEST
done
cp txml/*.txt ecma/
cp txml/*.txt xpath/
+cp txml/*.txt promela/
-find ./ecma -type f -exec grep -Ili 'datamodel="xpath"' {} \; |xargs rm -fv
-find ./xpath -type f -exec grep -Ili 'datamodel="ecmascript"' {} \; |xargs rm -fv
+# find ./ecma -type f -exec grep -Ili 'datamodel="xpath"' {} \; |xargs rm -fv
+# find ./xpath -type f -exec grep -Ili 'datamodel="ecmascript"' {} \; |xargs rm -fv
+find ./promela -type f -exec grep -Ili 'datamodel="xpath"' {} \; |xargs rm -fv
+find ./promela -type f -exec grep -Ili 'datamodel="ecmascript"' {} \; |xargs rm -fv
+# format all SCXML files
SCXMLS=`find . -type f -name '*.scxml'`
for SCXML in $SCXMLS
do