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

. ../../testenv.sh

analyze_failure -Werror=runtime-error repro1.vhdl

analyze repro2.vhdl
elab_simulate_failure repro2 2>&1 | tee repro2.err
grep "1 downto 0" repro2.err

analyze repro3.vhdl
elab_simulate_failure repro3 2>&1 | tee repro3.err
grep "1 downto 0" repro3.err

GHDL_STD_FLAGS=--std=08
analyze direction_mismatch.vhd  tb_direction_mismatch.vhd
elab_simulate_failure  tb_direction_mismatch
clean

echo "Test successful"