diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-05-11 21:04:03 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-05-11 21:04:03 +0200 |
commit | 262976db6c8f846125dbaf2dca75eaeb32866b00 (patch) | |
tree | 46de5ffec7cc71e57f964d603e7c76a63f4341ab /testsuite/gna/ticket47 | |
parent | f94b64e892c4c5b7cc9b3661a0de0a358e79093c (diff) | |
download | ghdl-262976db6c8f846125dbaf2dca75eaeb32866b00.tar.gz ghdl-262976db6c8f846125dbaf2dca75eaeb32866b00.tar.bz2 ghdl-262976db6c8f846125dbaf2dca75eaeb32866b00.zip |
Test for ticket 47.
Diffstat (limited to 'testsuite/gna/ticket47')
-rw-r--r-- | testsuite/gna/ticket47/ent.vhdl | 13 | ||||
-rwxr-xr-x | testsuite/gna/ticket47/testsuite.sh | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/ticket47/ent.vhdl b/testsuite/gna/ticket47/ent.vhdl new file mode 100644 index 000000000..9a17e5c8a --- /dev/null +++ b/testsuite/gna/ticket47/ent.vhdl @@ -0,0 +1,13 @@ +entity ent is + generic (str : string); +end entity; + +architecture a of ent is +begin + main : process + begin + report str; + wait; + end process; +end architecture; + diff --git a/testsuite/gna/ticket47/testsuite.sh b/testsuite/gna/ticket47/testsuite.sh new file mode 100755 index 000000000..e41bcb158 --- /dev/null +++ b/testsuite/gna/ticket47/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze ent.vhdl +elab_simulate ent -gstr=Hello +elab_simulate_failure ent + +clean + +echo "Test successful" |