diff options
Diffstat (limited to 'testsuite/gna/ticket51/testsuite.sh')
-rwxr-xr-x | testsuite/gna/ticket51/testsuite.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/gna/ticket51/testsuite.sh b/testsuite/gna/ticket51/testsuite.sh new file mode 100755 index 000000000..ae261dcc3 --- /dev/null +++ b/testsuite/gna/ticket51/testsuite.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze ent.vhdl +elab_simulate ent + +if $GHDL -v | grep -q mcode; then + echo "-o not supported by mcode" +else + $GHDL --elab-run -o ent1 ent + $GHDL --elab-run -o $PWD/ent2 ent +fi + +rm -f ent1 ent2 +clean + +echo "Test successful" |