altosdroid: Deal with AltosState changes
[fw/altos] / ao-bringup / test-telegps
index f31744850dddb579e983c632f909582d53b86686..0b27580205e4794c05f2d59139a80b951e86d09b 100755 (executable)
@@ -21,7 +21,7 @@ ao-list | while read product serial dev; do
            FLASHSIZE=2097152
 
            echo "Testing flash"
-           ./test-flash "$dev" "$FLASHSIZE"
+           ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
 
            case $? in
                0)
@@ -32,7 +32,7 @@ ao-list | while read product serial dev; do
            esac
 
            echo "Testing GPS"
-           ./test-gps "$dev"
+           ../ao-tools/ao-test-gps/ao-test-gps --tty="$dev"
 
            case $? in
                0)
@@ -42,7 +42,7 @@ ao-list | while read product serial dev; do
                    exit 1
            esac
 
-           echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
+           echo "$PRODUCT-v$VERSION" serial "$serial" passed functional tests
            ret=0
            ;;
        *)