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 ./test-igniter "$dev" drogue main
32 echo "Testing baro sensor"
46 ./test-flash "$dev" "$FLASHSIZE"
56 echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
60 echo "Skipping $product $serial $dev"