aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue103/testsuite.sh
blob: 84e287fd567f0e15c82c0645f5fc20e986eef24e (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 -P. hello.vhdl
analyze -P=. hello.vhdl

# Cannot use analyze_failure for errors in options.
if analyze -P= hello.vhdl; then
  echo "failure expected for -P="
  exit 1;
fi
if analyze -P hello.vhdl; then
  echo "failure expected for -P"
  exit 1;
fi

clean

echo "Test successful"