diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-04-10 11:07:49 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-04-10 18:14:09 +0200 |
commit | 007c91eb27746b891aa41a3d2948736649366a7b (patch) | |
tree | 8c7640fd330891aa61f1a8880447a663105d0590 /testsuite/gna | |
parent | 849a25e02cfb359e3d9313060156b0643495548b (diff) | |
download | ghdl-007c91eb27746b891aa41a3d2948736649366a7b.tar.gz ghdl-007c91eb27746b891aa41a3d2948736649366a7b.tar.bz2 ghdl-007c91eb27746b891aa41a3d2948736649366a7b.zip |
testsuite/gna: add a test for #1718
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue1718/ent.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/issue1718/testsuite.sh | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/issue1718/ent.vhdl b/testsuite/gna/issue1718/ent.vhdl new file mode 100644 index 000000000..fab4aaa63 --- /dev/null +++ b/testsuite/gna/issue1718/ent.vhdl @@ -0,0 +1,7 @@ +entity ent is +end ent; + +architecture arch of ent is +begin +process begin report "Hello"; wait; end process; +end; diff --git a/testsuite/gna/issue1718/testsuite.sh b/testsuite/gna/issue1718/testsuite.sh new file mode 100755 index 000000000..052df75fe --- /dev/null +++ b/testsuite/gna/issue1718/testsuite.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze --work=my_lib ent.vhdl +elab_simulate my_lib.ent + +! elab_simulate .ent +! elab_simulate my_lib. + +clean my_lib + +echo "Test successful" |