aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1736/testsuite.sh
blob: 391dab0ffde7867bb2c5f5dc31e80bd43450f6c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

. ../../testenv.sh

export GHDL_STD_FLAGS=--std=08
analyze --work=mylib fifo.vhdl
analyze ent.vhdl
cmd="$GHDL elab-order --libraries $GHDL_STD_FLAGS ent"
echo "run $cmd"
eval "$cmd" > ent.out
diff_nocr ent.ref ent.out

clean
clean mylib
rm -f ent.out

echo "Test successful"