aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue147/testsuite.sh
blob: c33144c01e61fb741d4ca69fea04fc70416ba21e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh

. ../../testenv.sh

GHDL_STD_FLAGS=--workdir=work1
rm -rf work1
mkdir work1
analyze simple.vhdl
elab_simulate simple

clean

rmdir work1

# Some simple checks
if test -f simple || test -f 'e~simple.o'; then
    echo "Not correctly cleaned"
    ls -l
    exit 1
fi

echo "Test successful"