blob: a8a8dc3fcea7707db64703a6475d19bde36cc55b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
DIR=~/misc/rockets/flights
bad_baro=0
bad_full=0
while read flight description; do
if ./ao_flight_test_baro -s $DIR/$flight; then
:
else
: $((bad_baro++))
fi
if ./ao_flight_test -s $DIR/$flight; then
:
else
: $((bad_full++))
fi
done < test-flights
echo baro errors $bad_baro
echo full errors $bad_full
: $((bad = bad_baro + bad_full))
exit $bad
|