aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1067/testsuite.sh
blob: 51ebb01b98c9e266cb9428cc23d2429b7518a37c (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

analyze top.vhdl
elab top

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

clean

echo "Test successful"