From 0c655ec98435f5d9bdfb51cab215002d794c263f Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 13 Dec 2014 13:35:52 +0100 Subject: Add ticket26 testcase. --- testsuite/gna/ticket26/testsuite.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 testsuite/gna/ticket26/testsuite.sh (limited to 'testsuite/gna/ticket26/testsuite.sh') diff --git a/testsuite/gna/ticket26/testsuite.sh b/testsuite/gna/ticket26/testsuite.sh new file mode 100755 index 0000000..4d1d395 --- /dev/null +++ b/testsuite/gna/ticket26/testsuite.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS="--std=02 -fpsl" +analyze psl_test_named_statement.vhd +elab_simulate psl_test_named_statement --stop-time=200ns 2>&1 | tee psl.out + +if ! grep -q "psl assertion error" psl.out; then + echo "missing psl error" + exit 1 +fi + +clean +rm -f psl.out + +echo "Test successful" -- cgit