projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Clean up test scripts
[fw/altos]
/
src
/
test
/
run-tests
diff --git
a/src/test/run-tests
b/src/test/run-tests
index 3e0cad3cfe6489d34bcba61247725feae13ba9c9..a8a8dc3fcea7707db64703a6475d19bde36cc55b 100755
(executable)
--- a/
src/test/run-tests
+++ b/
src/test/run-tests
@@
-1,6
+1,6
@@
-#!/bin/sh
+#!/bin/
ba
sh
-DIR=~/
src/cc1111
/flights
+DIR=~/
misc/rockets
/flights
bad_baro=0
bad_full=0
bad_baro=0
bad_full=0
@@
-8,15
+8,15
@@
while read flight description; do
if ./ao_flight_test_baro -s $DIR/$flight; then
:
else
if ./ao_flight_test_baro -s $DIR/$flight; then
:
else
- ((bad_baro++))
+
: $
((bad_baro++))
fi
if ./ao_flight_test -s $DIR/$flight; then
:
else
fi
if ./ao_flight_test -s $DIR/$flight; then
:
else
- ((bad_full++))
+
: $
((bad_full++))
fi
done < test-flights
echo baro errors $bad_baro
echo full errors $bad_full
fi
done < test-flights
echo baro errors $bad_baro
echo full errors $bad_full
-((bad = bad_baro + bad_full))
+
: $
((bad = bad_baro + bad_full))
exit $bad
\ No newline at end of file
exit $bad
\ No newline at end of file