Pointers - Applied function ptr patch from Steve Tell. Fixed bugs with
[fw/sdcc] / 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 ../../bin/sdcc -S -mpic14 $1.c
12 #gpasm -c  -I /usr/local/share/gpasm/header $1.asm
13 gpasm  $1.asm
14 ./create_stc $1.cod $1.stc
15 ./simulate $1.stc garbage.log
16 cat garbage.log
17 rm garbage.log