aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-03-19 07:19:26 +0100
committerTristan Gingold <tgingold@free.fr>2016-03-19 07:19:26 +0100
commit663f9f59682f8ab456303433939436a92d582744 (patch)
tree1dc1924b2a58730e905498c145bd3bc416ffaf1d /testsuite
parentcad9787131816bd1fb7f7532caef28402d79a681 (diff)
downloadghdl-663f9f59682f8ab456303433939436a92d582744.tar.gz
ghdl-663f9f59682f8ab456303433939436a92d582744.tar.bz2
ghdl-663f9f59682f8ab456303433939436a92d582744.zip
Also test ticket24 with vhdl08.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/gna/ticket24/testsuite.sh16
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"