aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-12-11 18:35:45 +0100
committerTristan Gingold <tgingold@free.fr>2017-12-11 18:35:45 +0100
commit79f63fab401531276859c020b1ce518bc312e0cf (patch)
treef235a1acd43bdd1ff384c83c4e919ec67910da59 /testsuite
parent911a0bfa0886f638fc82306d67d6b619d07173e6 (diff)
downloadghdl-79f63fab401531276859c020b1ce518bc312e0cf.tar.gz
ghdl-79f63fab401531276859c020b1ce518bc312e0cf.tar.bz2
ghdl-79f63fab401531276859c020b1ce518bc312e0cf.zip
issue382: reduce simulation time for interpretation.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/gna/issue382/testsuite.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/gna/issue382/testsuite.sh b/testsuite/gna/issue382/testsuite.sh
index 82a7ad77f..a2d2bba36 100755
--- a/testsuite/gna/issue382/testsuite.sh
+++ b/testsuite/gna/issue382/testsuite.sh
@@ -4,8 +4,12 @@
analyze demo.vhd
analyze tb_demo.vhd
-# elab_simulate tb_demo --stop-time=300sec --wave=tb_demo.ghw
-elab_simulate tb_demo
+if ghdl_is_interpretation; then
+ elab_simulate tb_demo --stop-time=1sec
+else
+ # elab_simulate tb_demo --stop-time=300sec --wave=tb_demo.ghw
+ elab_simulate tb_demo
+fi
clean