summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@digitalgrammars.com>2021-07-01 13:53:33 +0200
committerJohn J. Camilleri <john@digitalgrammars.com>2021-07-01 13:53:33 +0200
commit78b73fba20d45ed8c3f1c87455795fbf7d670950 (patch)
tree09e6f46adab57e477071de6a6e0aab574702726b /testsuite
parente5a2aed5b6e31fe89e94e9fd9c22e2488f85cae8 (diff)
Make cleanupRecordFields also recurse into variants
It's possible that more constructors need to be handled
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/canonical/run.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/testsuite/canonical/run.sh b/testsuite/canonical/run.sh
index c39f1e557..81c03c5d1 100755
--- a/testsuite/canonical/run.sh
+++ b/testsuite/canonical/run.sh
@@ -23,15 +23,6 @@ echo ""
# https://github.com/GrammaticalFramework/gf-core/issues/101
stack run -- --batch --output-format=canonical_gf grammars/PhrasebookGer.gf
-# for s in c2 objCtrl; do
-# grep VRead --after-context=216 canonical/PhrasebookGer.gf | grep "$s" > /dev/null
-# if [ $? -ne 1 ]; then
-# echo "Canonical grammar contains \`$s\`: FAIL"
-# FAILURES=$((FAILURES+1))
-# else
-# echo "Canonical grammar does not contain \`$s\`: OK"
-# fi
-# done
diff canonical/PhrasebookGer.gf gold/PhrasebookGer.gf
if [ $? -ne 0 ]; then
echo "Canonical grammar doesn't match gold version: FAIL"