From d5d6bfa994052e387e8c0ed6b424b20a2ef34eab Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 13 Apr 2020 06:12:57 +0200 Subject: testsuite/gna: adjust test bug0114 --- testsuite/gna/bug0114/testsuite.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testsuite/gna') 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 -- cgit v1.2.3