diff options
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue147/simple.vhdl | 8 | ||||
-rwxr-xr-x | testsuite/gna/issue147/testsuite.sh | 20 |
2 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/gna/issue147/simple.vhdl b/testsuite/gna/issue147/simple.vhdl new file mode 100644 index 000000000..2cdc4a6a9 --- /dev/null +++ b/testsuite/gna/issue147/simple.vhdl @@ -0,0 +1,8 @@ +entity simple is +end; + +architecture behav of simple is +begin + assert false report "Hello" severity note; +end; + diff --git a/testsuite/gna/issue147/testsuite.sh b/testsuite/gna/issue147/testsuite.sh new file mode 100755 index 000000000..84a22c0a7 --- /dev/null +++ b/testsuite/gna/issue147/testsuite.sh @@ -0,0 +1,20 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--workdir=work1 +mkdir work1 +analyze simple.vhdl +elab_simulate simple + +clean + +rmdir work1 + +# Some simple checks +if test -f simple || test -f 'e~simple.o'; then + echo "Not correctly cleaned" + exit 1 +fi + +echo "Test successful" |