aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue339/testsuite.sh
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2021-04-23 01:42:48 +0200
committertgingold <tgingold@users.noreply.github.com>2021-04-23 20:38:47 +0200
commit1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88 (patch)
tree79dc323fc1dc3862ef71bcbabfe2d45552e5688b /testsuite/gna/issue339/testsuite.sh
parent4a11f41e67adb67f7b29a4492ca3a2b8ddef2b91 (diff)
downloadghdl-1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88.tar.gz
ghdl-1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88.tar.bz2
ghdl-1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88.zip
testsuite/gna: cleanup ghw related issues
Diffstat (limited to 'testsuite/gna/issue339/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue339/testsuite.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/gna/issue339/testsuite.sh b/testsuite/gna/issue339/testsuite.sh
index 0422b0b91..bb1dfbc9d 100755
--- a/testsuite/gna/issue339/testsuite.sh
+++ b/testsuite/gna/issue339/testsuite.sh
@@ -7,12 +7,13 @@ analyze test_pkg.vhdl test_bench.vhdl
elab test_bench
if ghdl_has_feature test_bench ghw; then
simulate test_bench --stop-time=700ns --wave=w.ghw
+ ghw_diff w
+ rm -f w.txt w.ghw
else
simulate test_bench --stop-time=700ns
fi
clean
-rm -f w.ghw
rm -f output.txt
echo "Test successful"