1 # SDCC test script for the PIC Port
3 USAGE="Usage: `basename $0` GPSIM_SCRIPT OUTPUT"
14 echo "Test $GPSIM_SCRIPT" >> $LOGFILE
15 gpsim --cli -c $GPSIM_SCRIPT $2> test
16 grep "success " test | grep "= 0x0"
17 if [ $? -eq 0 ] ; then
18 echo "PASSED" >> $LOGFILE
20 echo "FAILED" >> $LOGFILE