ao-bringup: Improve igniter testing. Add TeleMega and TeleMetrum testing.
[fw/altos] / ao-bringup / test-easymini
index 291393856c567096ed25440fbbe7cc22a31cbed1..e11244d2372eced9700fe10b5be103d574617c4d 100755 (executable)
@@ -17,20 +17,13 @@ ao-list | while read product serial dev; do
        "$PRODUCT-v$VERSION")
 
            echo "Testing $product $serial $dev"
-
-           echo "Testing igniters. Both should flash"
-           ./test-igniter "$dev" drogue main
-
-           case $? in
-               0)
-                   ;;
-               *)
-                   echo "failed"
-                   exit 1
-           esac
+           echo ""
+           
+           ./test-igniters "$dev" drogue main
+           echo ""
 
            echo "Testing baro sensor"
-           ./test-baro "$dev"
+           ../ao-tools/ao-test-baro/ao-test-baro --tty="$dev"
 
            case $? in
                0)
@@ -39,11 +32,12 @@ ao-list | while read product serial dev; do
                    echo "failed"
                    exit 1
            esac
+           echo""
 
            FLASHSIZE=1048576
 
            echo "Testing flash"
-           ./test-flash "$dev" "$FLASHSIZE"
+           ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
 
            case $? in
                0)
@@ -52,12 +46,10 @@ ao-list | while read product serial dev; do
                    echo "failed"
                    exit 1
            esac
+           echo""
 
            echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
            ret=0
            ;;
-       *)
-           echo "Skipping $product $serial $dev"
-           ;;
     esac
 done