rf24-pio/tests/pingpair_test/runtests.sh

17 lines
541 B
Bash
Raw Normal View History

2011-07-13 22:41:37 +00:00
#!/bin/sh
# Connect p6 to receiver, p4 to sender
2011-07-31 17:17:07 +00:00
# WARNING: Test config 2 only works with PLUS units.
2011-07-13 22:41:37 +00:00
jam p4 p6 || exit 1
2011-07-14 02:13:57 +00:00
./runtest.py /dev/tty.usbserial-A600eHIs 1 &
./runtest.py /dev/tty.usbserial-A40081RP 1 || ( kill `jobs -p` && exit 1 )
2011-07-14 02:13:57 +00:00
kill `jobs -p`
./runtest.py /dev/tty.usbserial-A600eHIs 2 &
./runtest.py /dev/tty.usbserial-A40081RP 2 || ( kill `jobs -p` && exit 1 )
kill `jobs -p`
./runtest.py /dev/tty.usbserial-A600eHIs 3 &
./runtest.py /dev/tty.usbserial-A40081RP 3 || ( kill `jobs -p` && exit 1 )
kill `jobs -p`
2011-07-13 22:41:37 +00:00
exit 0