diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-03-19 07:19:26 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-03-19 07:19:26 +0100 |
commit | 663f9f59682f8ab456303433939436a92d582744 (patch) | |
tree | 1dc1924b2a58730e905498c145bd3bc416ffaf1d /testsuite | |
parent | cad9787131816bd1fb7f7532caef28402d79a681 (diff) | |
download | ghdl-663f9f59682f8ab456303433939436a92d582744.tar.gz ghdl-663f9f59682f8ab456303433939436a92d582744.tar.bz2 ghdl-663f9f59682f8ab456303433939436a92d582744.zip |
Also test ticket24 with vhdl08.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/gna/ticket24/testsuite.sh | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/testsuite/gna/ticket24/testsuite.sh b/testsuite/gna/ticket24/testsuite.sh index 96b37c948..2609c6022 100755 --- a/testsuite/gna/ticket24/testsuite.sh +++ b/testsuite/gna/ticket24/testsuite.sh @@ -10,6 +10,19 @@ if ! cmp psl.out psl.ref; then exit 1 fi +rm -f psl.out +clean + +# Using vhdl 08 +GHDL_STD_FLAGS="-fpsl --std=08" +analyze psl.vhdl +elab_simulate psl --psl-report=psl.out + +cmp -s psl.out psl.ref + +rm -f psl.out +clean + # Usage example (python 2.7): # # import json @@ -18,7 +31,4 @@ fi # {u'assert-pass': 2, u'cover': 1, ... } # print d['summary']['assert'] -rm -f psl.out -clean - echo "Test successful" |