diff options
author | Tristan Gingold | 2015-05-30 14:05:38 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-30 14:05:38 +0200 |
commit | e8bd5e0824f4d3f626650446c1df438ebb7d994b (patch) | |
tree | d9c0910b2f4104292b72c59c18bae4b702aca748 /testsuite/gna/ticket84/testsuite.sh | |
parent | f6d8e786a1ca3165b41cea7de05b8f2151ac31ff (diff) | |
download | ghdl-e8bd5e0824f4d3f626650446c1df438ebb7d994b.tar.gz ghdl-e8bd5e0824f4d3f626650446c1df438ebb7d994b.tar.bz2 ghdl-e8bd5e0824f4d3f626650446c1df438ebb7d994b.zip |
Testcase for ticket84.
Diffstat (limited to 'testsuite/gna/ticket84/testsuite.sh')
-rwxr-xr-x | testsuite/gna/ticket84/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/ticket84/testsuite.sh b/testsuite/gna/ticket84/testsuite.sh new file mode 100755 index 0000000..aad3f12 --- /dev/null +++ b/testsuite/gna/ticket84/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze bug.vhdl +elab_simulate ent +clean + +if ! cmp file.txt file.raw; then + echo "Comparison mismatch" + exit 1 +fi + +rm -f file.txt file.raw + +echo "Test successful" |