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

. ../../testenv.sh

# Expect only one error.
analyze_failure repro1.vhdl 2> repro1.err
if ! diff --strip-trailing-cr repro1.err repro1.ref; then
  echo "unexpected output"
  exit 1;
fi

rm -f repro1.err
clean

echo "Test successful"