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

. ../../testenv.sh

cp simple01.vhdl simple.vhdl
analyze simple.vhdl

cp simple02.vhdl simple.vhdl
if $GHDL --synth 2>&1 | grep "Bug occurred"; then
  exit 1
fi

clean

echo "Test successful"