diff options
author | Tristan Gingold | 2015-06-09 03:18:57 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-06-09 03:18:57 +0200 |
commit | a1967a7c1aa5a59d53e359b0b0b55765d5b6bbfd (patch) | |
tree | 7ba2f50f41234f7b6a895e68c89ef1925caeebab | |
parent | bfabdb8c6dff4431c4d24f7d6a2eda0faaa0154f (diff) | |
download | ghdl-a1967a7c1aa5a59d53e359b0b0b55765d5b6bbfd.tar.gz ghdl-a1967a7c1aa5a59d53e359b0b0b55765d5b6bbfd.tar.bz2 ghdl-a1967a7c1aa5a59d53e359b0b0b55765d5b6bbfd.zip |
Testcase for ticket87
-rw-r--r-- | testsuite/gna/ticket87/hello.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/ticket87/testsuite.sh | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/ticket87/hello.vhdl b/testsuite/gna/ticket87/hello.vhdl new file mode 100644 index 0000000..41e82d8 --- /dev/null +++ b/testsuite/gna/ticket87/hello.vhdl @@ -0,0 +1,7 @@ +entity hello is +end; + +architecture behav of hello is +begin + assert false report "Hello"; +end behav; diff --git a/testsuite/gna/ticket87/testsuite.sh b/testsuite/gna/ticket87/testsuite.sh new file mode 100755 index 0000000..8e87fd9 --- /dev/null +++ b/testsuite/gna/ticket87/testsuite.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +. ../../testenv.sh + +mkdir dir1 dir2 || true + +cd dir1 +analyze ../hello.vhdl +elab_simulate hello + +cd ../dir2 +elab_simulate --workdir=../dir1 hello + +cd .. +rm -rf dir1 dir2 + +echo "Test successful" |