aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0114
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-13 06:12:57 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-13 06:12:57 +0200
commitd5d6bfa994052e387e8c0ed6b424b20a2ef34eab (patch)
tree342e43e8531f34e1085eb13ae3753e6d3e82cef5 /testsuite/gna/bug0114
parent9692c521448b06fd0627136754a983f8e3b54efe (diff)
downloadghdl-d5d6bfa994052e387e8c0ed6b424b20a2ef34eab.tar.gz
ghdl-d5d6bfa994052e387e8c0ed6b424b20a2ef34eab.tar.bz2
ghdl-d5d6bfa994052e387e8c0ed6b424b20a2ef34eab.zip
testsuite/gna: adjust test bug0114
Diffstat (limited to 'testsuite/gna/bug0114')
-rwxr-xr-xtestsuite/gna/bug0114/testsuite.sh8
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