X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-bringup%2Ftest-telemetrum;h=13407e8675f38f1dd5ac7efc8eda262a1f8b9a0b;hb=master;hp=914271837af9a6d953f326ae0d88df2e5ae82764;hpb=15dbd68ae4018180bb7a7aced849d23cd2200472;p=fw%2Faltos diff --git a/ao-bringup/test-telemetrum b/ao-bringup/test-telemetrum deleted file mode 100755 index 91427183..00000000 --- a/ao-bringup/test-telemetrum +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -VERSION=3.0 -PRODUCT=TeleMetrum -BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'` - -echo "$PRODUCT-v$VERSION Test Program" -echo "Copyright 2019 by Bdale Garbee. Released under GPL v2" -echo -echo "Expectations:" -echo "\t$PRODUCT v$VERSION powered from USB" -echo - -ret=1 -ao-list | while read product serial dev; do - case "$product" in - "$PRODUCT-v$VERSION") - - echo "Testing $product $serial $dev" - echo "" - - ./test-igniters "$dev" --rplus=100 --rminus=27 --adcmax=4095 drogue main - echo "" - - echo "Testing baro sensor" - ../ao-tools/ao-test-baro/ao-test-baro --tty="$dev" - - case $? in - 0) - ;; - *) - echo "failed" - exit 1 - esac - echo"" - - FLASHSIZE=8388608 - - echo "Testing flash" - ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE" - - case $? in - 0) - ;; - *) - echo "failed" - exit 1 - esac - echo"" - - echo "Testing GPS" - ../ao-tools/ao-test-gps/ao-test-gps --tty="$dev" - - case $? in - 0) - ;; - *) - echo "failed" - exit 1 - esac - echo"" - - echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship - echo "\007" - ret=0 - ;; - esac -done