aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue852/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue852/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue852/testsuite.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/testsuite/gna/issue852/testsuite.sh b/testsuite/gna/issue852/testsuite.sh
index ac6e49750..8380c10bc 100755
--- a/testsuite/gna/issue852/testsuite.sh
+++ b/testsuite/gna/issue852/testsuite.sh
@@ -4,13 +4,14 @@
export GHDL_STD_FLAGS=--std=08
for f in repro1 recordofrecord_tb; do
- analyze $f.vhdl
- elab $f
+ analyze "$f".vhdl
+ elab "$f"
- if ghdl_has_feature $f ghw; then
- simulate $f --dump-rti
- simulate $f --wave=$f.ghw
- rm -f $f.ghw
+ if ghdl_has_feature "$f" ghw; then
+ simulate "$f" --dump-rti
+ simulate "$f" --wave="$f".ghw
+ ghw_diff "$f"
+ rm -f "$f".txt "$f".ghw
fi
done