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

. ../../testenv.sh

export GHDL_STD_FLAGS=--std=08

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

echo "Test successful"