aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue339/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-01-04 07:48:34 +0100
committerTristan Gingold <tgingold@free.fr>2019-01-04 13:21:17 +0100
commitb054bf21a3a9aed8c9756c60ce8209cc800c104b (patch)
treecaf032bc888805e8c96a8949563a74cb499a64b9 /testsuite/gna/issue339/testsuite.sh
parent21a6d28f8f06b7491143f14931574160101a2699 (diff)
downloadghdl-b054bf21a3a9aed8c9756c60ce8209cc800c104b.tar.gz
ghdl-b054bf21a3a9aed8c9756c60ce8209cc800c104b.tar.bz2
ghdl-b054bf21a3a9aed8c9756c60ce8209cc800c104b.zip
Adjust testcase.
Diffstat (limited to 'testsuite/gna/issue339/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue339/testsuite.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/gna/issue339/testsuite.sh b/testsuite/gna/issue339/testsuite.sh
index 8d02ad161..8a172d20b 100755
--- a/testsuite/gna/issue339/testsuite.sh
+++ b/testsuite/gna/issue339/testsuite.sh
@@ -4,8 +4,15 @@
export GHDL_STD_FLAGS=--std=08
analyze test_pkg.vhdl test_bench.vhdl
-elab_simulate test_bench --stop-time=700ns
+elab test_bench
+if false && ghdl_has_feature test_bench ghw; then
+ simulate test_bench --stop-time=700ns --wave=w.ghw
+else
+ simulate test_bench --stop-time=700ns
+fi
clean
+rm -f w.ghw
+rm -f output.txt
echo "Test successful"