diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-05-25 07:57:15 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-05-25 07:57:15 +0200 |
commit | 5d0f5bd7ce8ea929d5f5583c064f30ea185462a7 (patch) | |
tree | 827a2073eb8e703a25bc03f45e5971ab742b6ea2 /testsuite/sanity | |
parent | fb6994aec01818bd2096fd0bc12382fb6db8c78f (diff) | |
download | ghdl-5d0f5bd7ce8ea929d5f5583c064f30ea185462a7.tar.gz ghdl-5d0f5bd7ce8ea929d5f5583c064f30ea185462a7.tar.bz2 ghdl-5d0f5bd7ce8ea929d5f5583c064f30ea185462a7.zip |
sanity/004all08: test --reprint
Diffstat (limited to 'testsuite/sanity')
-rwxr-xr-x | testsuite/sanity/004all08/testsuite.sh | 16 |
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" |