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

. ../../testenv.sh

analyze test_string.vhdl
elab test_string

if ghdl_has_feature test_string ghw; then
  simulate test_string --wave=sim.ghw --stop-time=20ns
fi

clean
if [ $# -eq 0 ]; then
  rm -f sim.ghw
fi


echo "Test successful"