aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1067/testsuite.sh
blob: 28b04a32f4325b2685aace5aac4426fe0ea239f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

. ../../testenv.sh

export GHDL_STD_FLAGS=--std=08

for f in top; do
  analyze $f.vhdl
  elab $f

  if ghdl_has_feature $f ghw; then
    simulate $f --dump-rti
    simulate $f --wave=$f.ghw
    ghw_diff "$f"
    rm -f "$f".txt "$f".ghw
  fi
done

clean

echo "Test successful"