aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/comp04/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/comp04/testsuite.sh')
-rwxr-xr-xtestsuite/synth/comp04/testsuite.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/testsuite/synth/comp04/testsuite.sh b/testsuite/synth/comp04/testsuite.sh
index b7974d5a7..5b18ae376 100755
--- a/testsuite/synth/comp04/testsuite.sh
+++ b/testsuite/synth/comp04/testsuite.sh
@@ -2,15 +2,11 @@
. ../../testenv.sh
-for t in comp04 comp05 comp06; do
-# analyze $t.vhdl tb_$t.vhdl
-# elab_simulate tb_$t
-# clean
-
- synth $t.vhdl -e $t > syn_$t.vhdl
- analyze syn_$t.vhdl #tb_$t.vhdl
-# elab_simulate tb_$t --ieee-asserts=disable-at-0
- clean
+for keep in yes no; do
+ GHDL_SYNTH_FLAGS=--keep-hierarchy=$keep
+ for unit in comp04 comp05 comp06; do
+ synth_tb $unit
+ done
done
echo "Test successful"