diff options
author | Tristan Gingold | 2014-12-13 13:35:52 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-12-13 13:35:52 +0100 |
commit | 0c655ec98435f5d9bdfb51cab215002d794c263f (patch) | |
tree | 2bff5a580c0ec85a1537b70274bea0eeaf828c3c /testsuite/gna/ticket26/testsuite.sh | |
parent | 6b0e4e8d1e42ac329e12fafa3758f3ccd106b436 (diff) | |
download | ghdl-0c655ec98435f5d9bdfb51cab215002d794c263f.tar.gz ghdl-0c655ec98435f5d9bdfb51cab215002d794c263f.tar.bz2 ghdl-0c655ec98435f5d9bdfb51cab215002d794c263f.zip |
Add ticket26 testcase.
Diffstat (limited to 'testsuite/gna/ticket26/testsuite.sh')
-rwxr-xr-x | testsuite/gna/ticket26/testsuite.sh | 17 |
1 files changed, 17 insertions, 0 deletions
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" |