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

. ../../testenv.sh

analyze tb.vhdl
elab_simulate tb_ghdl_test

analyze count.vhdl
elab count

simulate count < ghdl_test.txt | grep -q " 10"
simulate count < empty.txt | grep -q " 5"

clean

echo "Test successful"