aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1257/testsuite.sh
blob: d3e8ab9e6c103b4116d8c5893696e60a42ae9109 (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 | tee repro2.err
grep "1 downto 0" repro2.err

analyze repro3.vhdl
elab_simulate_failure repro3 | 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"