aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1326/testsuite.sh
blob: e6b3262c848fff82af708a76ff8c3bc4fff8bb3a (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

simulate mytestbench --wave=dump.ghw | tee mytestbench.out

gcc ../../../src/grt/ghwdump.c ../../../src/grt/ghwlib.c -I../../../src/grt/ -o ghwdump

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

rm -f mytestbench.out ghwdump dump.txt dump.ghw
clean

echo "Test passed"