diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-03-14 08:11:56 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-03-14 08:11:56 +0100 |
commit | 854c10fe722401459e9c6a9d2bc4af7aefdfc6c8 (patch) | |
tree | cd19f212aa9a3a4c717fa8fb0e12707860d986cb | |
parent | 536f469d83c4b972ba7cb0d014b349f1345ec9cf (diff) | |
download | ghdl-854c10fe722401459e9c6a9d2bc4af7aefdfc6c8.tar.gz ghdl-854c10fe722401459e9c6a9d2bc4af7aefdfc6c8.tar.bz2 ghdl-854c10fe722401459e9c6a9d2bc4af7aefdfc6c8.zip |
Test #314: add test for -fcaret-diagnostics
-rwxr-xr-x | testsuite/gna/issue314/testsuite.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/gna/issue314/testsuite.sh b/testsuite/gna/issue314/testsuite.sh index 8f6c421bd..2208f2533 100755 --- a/testsuite/gna/issue314/testsuite.sh +++ b/testsuite/gna/issue314/testsuite.sh @@ -8,6 +8,12 @@ grep 2:8 t1.err analyze_failure -ftabstop=4 t1.vhdl 2> t1.err grep 2:4 t1.err +analyze_failure -fcaret-diagnostics -ftabstop=4 t1.vhdl 2> t1.err +grep "^ err;" t1.err + +analyze_failure -fcaret-diagnostics t1.vhdl 2> t1.err +grep "^ err;" t1.err + if analyze -ftabstop=0 t1.vhdl; then echo "error expected" exit 1 |