-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
The sketches in this directory are intended to be checkin tests. | ||
No code should be pushed to github without these tests passing. | ||
|
||
The way I run each test is from within the sketch dir, doing this: | ||
jam p4 p6 && ./runtest.py /dev/tty.usbserial-A40081RP | ||
|
||
runtest.py will exit with code 0 on pass code 1 on fail | ||
See "runtests.sh" script inside each sketch dir. This script is fully compatible with | ||
git bisest. | ||
|
||
Note that this requires python and py-serial | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
# Connect p6 to receiver, p4 to sender | ||
|
||
jam p4 p6 || exit 1 | ||
./runtest.py /dev/tty.usbserial-A600eHIs || exit 1 | ||
./runtest.py /dev/tty.usbserial-A40081RP || exit 1 | ||
exit 0 |