Imported Upstream version 2.9.0
[debian/cc1111] / src / regression / rt.sh
1 # test Script
2
3 USAGE="Usage: `basename $0` BASENAME"
4
5 if [ $# -lt 1 ] ; then
6   echo "$USAGE"
7   exit 1
8 fi
9
10 # compile
11
12 ../../bin/sdcc -I ../../device/include/pic -c -mpic14 -pp16f877 $1.c
13
14
15 # create the executable
16
17 gplink --map -c -o $1.o $1.o
18 ./create_stc $1.cod $1.stc
19
20 ./simulate $1.stc garbage.log