diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-04-23 01:42:48 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-04-23 20:38:47 +0200 |
commit | 1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88 (patch) | |
tree | 79dc323fc1dc3862ef71bcbabfe2d45552e5688b /testsuite/gna/issue418/testsuite.sh | |
parent | 4a11f41e67adb67f7b29a4492ca3a2b8ddef2b91 (diff) | |
download | ghdl-1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88.tar.gz ghdl-1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88.tar.bz2 ghdl-1ef548dea6ad8f8e2b445dc96fe9eca1e5bcac88.zip |
testsuite/gna: cleanup ghw related issues
Diffstat (limited to 'testsuite/gna/issue418/testsuite.sh')
-rwxr-xr-x | testsuite/gna/issue418/testsuite.sh | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/testsuite/gna/issue418/testsuite.sh b/testsuite/gna/issue418/testsuite.sh index ffbba4d1c..e6f846826 100755 --- a/testsuite/gna/issue418/testsuite.sh +++ b/testsuite/gna/issue418/testsuite.sh @@ -3,26 +3,20 @@ . ../../testenv.sh export GHDL_STD_FLAGS=--std=08 -analyze repro.vhdl -elab repro -analyze repro2.vhdl -elab repro2 - -analyze tc749.vhdl -elab tc749 - -if ghdl_has_feature repro2 ghw; then - simulate repro --wave=repro.ghw - simulate repro2 --wave=repro2.ghw - simulate tc749 --wave=tc749.ghw - # How to test the ghw ? Use ghwdump ? -fi +for item in repro repro2 tc749; do + analyze "$item".vhdl + elab "$item" + if ghdl_has_feature "$item" ghw; then + simulate "$item" --wave="$item".ghw + ghw_diff "$item" + rm -f "$item".txt "$item".ghw + fi +done analyze repro3.vhdl elab_simulate repro3 clean -rm -f repro.ghw repro2.ghw tc749.ghw echo "Test successful" |