5 BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'`
7 echo "$PRODUCT-v$VERSION Test Program"
8 echo "Copyright 2014 by Keith Packard. Released under GPL v2"
11 echo "\t$PRODUCT v$VERSION powered from USB"
15 ../ao-tools/ao-list/ao-list | while read product serial dev; do
19 echo "Testing $product $serial $dev"
22 ./test-igniters $dev drogue main 0 1 2 3
25 echo "Testing baro sensor"
26 ../ao-tools/ao-test-baro/ao-test-baro --tty="$dev"
40 ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
51 echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship