aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/synth/issue2125/testsuite.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/testsuite/synth/issue2125/testsuite.sh b/testsuite/synth/issue2125/testsuite.sh
index 27230d8ff..3818a80be 100755
--- a/testsuite/synth/issue2125/testsuite.sh
+++ b/testsuite/synth/issue2125/testsuite.sh
@@ -2,15 +2,9 @@
. ../../testenv.sh
-# TODO: reuse synth_tb, but we need to pass --latches
-analyze afed.vhdl tb_afed.vhdl
-elab_simulate tb_afed
-clean
+GHDL_SYNTH_FLAGS=--latches
-synth --latches afed.vhdl -e > syn_afed.vhdl
-analyze syn_afed.vhdl tb_afed.vhdl
-elab_simulate tb_afed --ieee-asserts=disable-at-0 --assert-level=error
-clean
+synth_tb afed
echo "Test successful"