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

. ../../testenv.sh

analyze mytestbench.vhdl
elab mytestbench
if ghdl_has_feature mytestbench ghw; then
  elab_simulate mytestbench --wave=dump.ghw | tee mytestbench.out

  # We're just checking that ghwdump doesn't crash on a zero length signal.
  ghwdump -ths dump.ghw > dump.txt

  rm -f mytestbench.out dump.txt dump.ghw
fi

clean

echo "Test successful"