blob: bd0773227de6d089a38d677eb0858ef8f3e9cb7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#! /bin/sh
. ../../testenv.sh
if $GHDL --help | grep -q -e --link; then
if [ -z $CC ]; then
CC="gcc"
fi
$CC -c main.c
analyze hello.vhdl
elab -Wl,main.o hello
run ./hello
clean
rm -f main.o
else
echo "Test not supported by the configuration"
fi
echo "Test successful"
|