aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/case02/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-05-03 16:57:41 +0200
committerTristan Gingold <tgingold@free.fr>2020-05-04 19:04:08 +0200
commitd7f364c707c2767743150d92eff0fab3ddd58ceb (patch)
treeaba70094e890fca53d0c6641e077dfbb936967b8 /testsuite/synth/case02/testsuite.sh
parent3629ed753e2a432d100b54bc94473ada803dc43c (diff)
downloadghdl-d7f364c707c2767743150d92eff0fab3ddd58ceb.tar.gz
ghdl-d7f364c707c2767743150d92eff0fab3ddd58ceb.tar.bz2
ghdl-d7f364c707c2767743150d92eff0fab3ddd58ceb.zip
testsuite/synth: add a test for previous commits.
Diffstat (limited to 'testsuite/synth/case02/testsuite.sh')
-rwxr-xr-xtestsuite/synth/case02/testsuite.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/testsuite/synth/case02/testsuite.sh b/testsuite/synth/case02/testsuite.sh
index ecb19a503..899e0bfcf 100755
--- a/testsuite/synth/case02/testsuite.sh
+++ b/testsuite/synth/case02/testsuite.sh
@@ -2,15 +2,8 @@
. ../../testenv.sh
-for t in case01 case02; 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
- clean
+for t in case01 case02 case03; do
+ synth_tb $t
done
echo "Test successful"