summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok')
-rwxr-xr-xtestsuite/parseok/unparser.stp21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/parseok/unparser.stp b/testsuite/parseok/unparser.stp
new file mode 100755
index 00000000..710c4636
--- /dev/null
+++ b/testsuite/parseok/unparser.stp
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+set -e
+
+for dir in ${SRCDIR}/testsuite/parseok \
+${SRCDIR}/testsuite/semok \
+${SRCDIR}/testsuite/semko \
+${SRCDIR}/testsuite/transok \
+${SRCDIR}/testsuite/transko \
+${SRCDIR}/testsuite/buildok \
+${SRCDIR}/testsuite/buildko
+do
+ for file in $dir/*.stp
+ do
+ if head -1 $file | grep -q stap
+ then
+ echo $file
+ ./stap -p1 $file | ./stap -p1 - > /dev/null
+ fi
+ done
+done