aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/sanity/004all08/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sanity/004all08/testsuite.sh')
-rwxr-xr-xtestsuite/sanity/004all08/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/sanity/004all08/testsuite.sh b/testsuite/sanity/004all08/testsuite.sh
index 0b908aade..3be90ebc3 100755
--- a/testsuite/sanity/004all08/testsuite.sh
+++ b/testsuite/sanity/004all08/testsuite.sh
@@ -11,6 +11,22 @@ fi
GHDL_STD_FLAGS="--std=08"
analyze all08.vhdl
+# Test reprint
+$GHDL --reprint --std=08 all08.vhdl > all08.out
+$GHDL --compare-tokens --std=08 all08.out all08.vhdl
+
+# Test reprint --no-sem
+$GHDL --reprint --std=08 --no-sem all08.vhdl > all08.out
+$GHDL --compare-tokens --std=08 all08.vhdl all08.out
+
+rm -f all08.out
+
+# Test reprint ams (no-sem)
+$GHDL --reprint --ams --no-sem ams08.vhdl > ams08.out
+$GHDL --compare-tokens --ams ams08.out ams08.vhdl
+
+rm -f ams08.out
+
clean
echo "test successful"