aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue371/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue371/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue371/testsuite.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/gna/issue371/testsuite.sh b/testsuite/gna/issue371/testsuite.sh
index 147ab74c4..daa633a6c 100755
--- a/testsuite/gna/issue371/testsuite.sh
+++ b/testsuite/gna/issue371/testsuite.sh
@@ -7,12 +7,10 @@ elab test_string
if ghdl_has_feature test_string ghw; then
simulate test_string --wave=sim.ghw --stop-time=20ns
+ ghw_diff sim
+ rm -f sim.txt sim.ghw
fi
clean
-if [ $# -eq 0 ]; then
- rm -f sim.ghw
-fi
-
echo "Test successful"