diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-23 07:21:06 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-23 07:21:06 +0100 |
commit | 1ccba28394a88c1dfa22657bf3cc32b0ba2132c6 (patch) | |
tree | 2e50e3e386e687ca5aef0e37ecf702d459a6cdea /testsuite/synth/issue1004/testsuite.sh | |
parent | b722d05b25d93f3d2f44b10d7859db2fa7b7ae08 (diff) | |
download | ghdl-1ccba28394a88c1dfa22657bf3cc32b0ba2132c6.tar.gz ghdl-1ccba28394a88c1dfa22657bf3cc32b0ba2132c6.tar.bz2 ghdl-1ccba28394a88c1dfa22657bf3cc32b0ba2132c6.zip |
Add testcase for #1004.
Diffstat (limited to 'testsuite/synth/issue1004/testsuite.sh')
-rwxr-xr-x | testsuite/synth/issue1004/testsuite.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/synth/issue1004/testsuite.sh b/testsuite/synth/issue1004/testsuite.sh new file mode 100755 index 000000000..fa3686042 --- /dev/null +++ b/testsuite/synth/issue1004/testsuite.sh @@ -0,0 +1,24 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=08 +for t in test; do + synth $t.vhdl -e $t > syn_$t.vhdl + analyze syn_$t.vhdl +done + +for t in test2; do + analyze $t.vhdl tb_$t.vhdl + elab_simulate tb_$t + clean + + synth $t.vhdl -e $t > syn_$t.vhdl + analyze syn_$t.vhdl tb_$t.vhdl + elab_simulate tb_$t --ieee-asserts=disable-at-0 + clean +done + +clean + +echo "Test successful" |