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-list | while read product serial dev; do
19 echo "Testing $product $serial $dev"
21 echo "Testing igniters. Both should flash"
22 ../ao-tools/ao-test-igniter/ao-test-igniter --tty="$dev" drogue main
32 echo "Testing baro sensor"
33 ../ao-tools/ao-test-baro/ao-test-baro --tty="$dev"
46 ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
56 echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
60 echo "Skipping $product $serial $dev"