summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket51
diff options
context:
space:
mode:
authorTristan Gingold2015-10-23 07:51:44 +0200
committerTristan Gingold2015-10-23 07:51:44 +0200
commit978cf0e8a286d2cec52d8f33a70040dce8610bdb (patch)
tree46a14c64033ec1e2909bd3c12296c5ee2be4a2e6 /testsuite/gna/ticket51
parente59043ad0cea266574fa9bb5fa8cac55a3956cad (diff)
downloadghdl-978cf0e8a286d2cec52d8f33a70040dce8610bdb.tar.gz
ghdl-978cf0e8a286d2cec52d8f33a70040dce8610bdb.tar.bz2
ghdl-978cf0e8a286d2cec52d8f33a70040dce8610bdb.zip
testsuite: allow spaces in GHDL variable.
Diffstat (limited to 'testsuite/gna/ticket51')
-rwxr-xr-xtestsuite/gna/ticket51/testsuite.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/gna/ticket51/testsuite.sh b/testsuite/gna/ticket51/testsuite.sh
index ae261dc..2eb6c9d 100755
--- a/testsuite/gna/ticket51/testsuite.sh
+++ b/testsuite/gna/ticket51/testsuite.sh
@@ -5,11 +5,11 @@
analyze ent.vhdl
elab_simulate ent
-if $GHDL -v | grep -q mcode; then
+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
+ "$GHDL" --elab-run -o ent1 ent
+ "$GHDL" --elab-run -o "$PWD/ent2" ent
fi
rm -f ent1 ent2