summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-23 10:37:39 +0900
committerKeith Packard <keithp@keithp.com>2011-03-23 10:37:39 +0900
commit43a94380032300a2e33e1faa1efe93e858e0a2cf (patch)
tree090f4fe976de9807fd973f079d079eba38ee1b3e /src/test
parent32364c9e0d346e0e5d517e18d4e90b8ff2fa944f (diff)
altos: Exit flight test at landing. Allow description in test flight list
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test')
-rwxr-xr-xsrc/test/run-one3
-rwxr-xr-xsrc/test/run-tests2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/test/run-one b/src/test/run-one
index d661abec..7d0f95ae 100755
--- a/src/test/run-one
+++ b/src/test/run-one
@@ -3,13 +3,14 @@
for i in "$@"; do
./ao_flight_test "$i" > run-out.full
./ao_flight_test_baro "$i" > run-out.baro
-#./ao_flight_test_accel "$i" > run-out.accel
+#./ao_flight_test_accel "$i" > run-out.accel
#"run-out.accel" using 1:9 with lines lt 4 axes x1y1 title "accel height",\
#"run-out.accel" using 1:11 with lines lt 4 axes x1y2 title "accel speed",\
#"run-out.accel" using 1:13 with lines lt 4 axes x1y2 title "accel accel",\
#"run-out.accel" using 1:15 with lines lt 4 axes x1y1 title "accel drogue",\
#"run-out.accel" using 1:17 with lines lt 4 axes x1y1 title "accel main",\
+#
gnuplot << EOF
set ylabel "altitude (m)"
diff --git a/src/test/run-tests b/src/test/run-tests
index 11b4c95c..3e0cad3c 100755
--- a/src/test/run-tests
+++ b/src/test/run-tests
@@ -4,7 +4,7 @@ DIR=~/src/cc1111/flights
bad_baro=0
bad_full=0
-while read flight; do
+while read flight description; do
if ./ao_flight_test_baro -s $DIR/$flight; then
:
else