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

. ../../testenv.sh

export GHDL_STD_FLAGS=--std=08
for f in wb_demux_tb repro2; do
  analyze "$f".vhdl
  elab "$f"

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

clean

echo "Test successful"