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

. ../../testenv.sh

export GHDL_STD_FLAGS=--std=08
for f in repro1 recordofrecord_tb; do
  analyze $f.vhdl
  elab $f

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

clean

echo "Test successful"