blob: 3e5d71365232d01ba73c3e7e77ea7505d8966f3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
. ../../testenv.sh
analyze_failure bugreport_aliasprotected.vhdl 2>log.txt
if grep -q "'protected' is expected instead of 'protected'" log.txt; then
echo "Incorrect error message"
exit 1
fi
rm log.txt
clean test
# TODO
if false; then
GHDL_STD_FLAGS=--std=08
analyze bugreport_aliasprotected.vhdl
simulate test
clean test
fi
echo "Test successful"
|