1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/elink/sw/mailbox/test.sh
Andreas Olofsson 7e49b29a79 Moving tests for idelay, mailbox, timeout from epiphany-examples
-Idea is to create complete packages
-All hardware modules should be complete, separation of tasks/sources can drive 10x in dev cost.
2015-11-29 12:44:22 -05:00

22 lines
248 B
Bash
Executable File

#!/bin/bash
SCRIPT=$(readlink -f "$0")
EXEPATH=$(dirname "$SCRIPT")
$EXEPATH/bin/e-main.elf $EXEPATH/bin/e-task.srec > e-main.log
retval=$?
if [ $retval -ne 0 ]
then
echo "$SCRIPT FAILED"
else
echo "$SCRIPT PASSED"
fi
exit $retval