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

. ../../testenv.sh

analyze repro.vhdl
elab repro
if ghdl_has_feature repro vcd; then
  simulate repro --vcd=repro.vcd

  if ! grep -q upscope repro.vcd; then
    echo "missing scope in vcd"
    exit 1;
  fi
fi

clean
rm -f repro.vcd

echo "Test successful"