diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-09-02 18:21:33 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-09-02 18:21:33 +0200 |
commit | a779d6b3b5f10cbee6690ae4ff7aa43b65caf5e3 (patch) | |
tree | c850005a41589ef82fc98abaac904c415acd9493 /testsuite/gna/bug017/testsuite.sh | |
parent | 133686da496f0592da76a45361e70ac8d6c482ea (diff) | |
download | ghdl-a779d6b3b5f10cbee6690ae4ff7aa43b65caf5e3.tar.gz ghdl-a779d6b3b5f10cbee6690ae4ff7aa43b65caf5e3.tar.bz2 ghdl-a779d6b3b5f10cbee6690ae4ff7aa43b65caf5e3.zip |
Add bug017.
Diffstat (limited to 'testsuite/gna/bug017/testsuite.sh')
-rwxr-xr-x | testsuite/gna/bug017/testsuite.sh | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/testsuite.sh b/testsuite/gna/bug017/testsuite.sh new file mode 100755 index 000000000..ec1f7092f --- /dev/null +++ b/testsuite/gna/bug017/testsuite.sh @@ -0,0 +1,40 @@ +#! /bin/sh + +. ../../testenv.sh + +units=" +call1 +call2 +call3 +call4 +call5 +call6 +call7 +call8 +call9 +for1 +if1 +if2 +if3 +if4 +loop1 +loop2 +ret1 +wait1 +wait2 +wait3 +" + +for f in $units; do + analyze ${f}.vhdl + elab_simulate $f --assert-level=error 2>&1 | tee res.out + if ! grep -q SUCCESS res.out; then + echo "Failure of $f" + exit 1 + fi +done + +rm -f res.out +clean + +echo "Test successful" |