diff options
author | Tristan Gingold | 2015-05-11 21:18:29 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-11 21:18:29 +0200 |
commit | 1effd3eb564f49a9b8e3543dfdbb121c6e1e9b73 (patch) | |
tree | 0ad605d4d6dec04bc50455fb1098c29f7ae7ba94 /testsuite/gna/ticket51/testsuite.sh | |
parent | c9940be923f60e0fe8348aea212f02cebb6ddb81 (diff) | |
download | ghdl-1effd3eb564f49a9b8e3543dfdbb121c6e1e9b73.tar.gz ghdl-1effd3eb564f49a9b8e3543dfdbb121c6e1e9b73.tar.bz2 ghdl-1effd3eb564f49a9b8e3543dfdbb121c6e1e9b73.zip |
Testcase for ticket 51.
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 0000000..ae261dc --- /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" |