diff options
-rwxr-xr-x | testsuite/gna/bug0114/testsuite.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuite/gna/bug0114/testsuite.sh b/testsuite/gna/bug0114/testsuite.sh index 9f279e742..b3b4ce8b3 100755 --- a/testsuite/gna/bug0114/testsuite.sh +++ b/testsuite/gna/bug0114/testsuite.sh @@ -2,9 +2,11 @@ . ../../testenv.sh -$GHDL -i hello.vhdl pkg.vhdl -sleep 1 -$GHDL -r --expect-failure hello +if $GHDL --version | grep -q mcode; then + $GHDL -i hello.vhdl pkg.vhdl + sleep 1 + $GHDL -r --expect-failure hello +fi clean |