diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-08 23:24:50 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-08 23:24:50 +0100 |
commit | 60dcff447c39d4ac2602895522f9d5a343d6cc87 (patch) | |
tree | ee70be86f8397d333f939c05115502b31f571a53 /ROMFS | |
parent | 6149f8365cdd2d13736a937dda6f31887979460d (diff) | |
download | px4-firmware-60dcff447c39d4ac2602895522f9d5a343d6cc87.tar.gz px4-firmware-60dcff447c39d4ac2602895522f9d5a343d6cc87.tar.bz2 px4-firmware-60dcff447c39d4ac2602895522f9d5a343d6cc87.zip |
More adjustments to test start
Diffstat (limited to 'ROMFS')
-rw-r--r-- | ROMFS/px4fmu_test/init.d/rcS | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS index a0f5bd098..b0c17b1af 100644 --- a/ROMFS/px4fmu_test/init.d/rcS +++ b/ROMFS/px4fmu_test/init.d/rcS @@ -112,7 +112,10 @@ fi adc start # XXX this syntax is not quite right, but if takes no flags (yet) -if [ hmc5883 -I -S start ] +if hmc5883 -I -S start +then +fi +if [ $? != 0 ] then # This is an FMUv1 or FMUv2 echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)" @@ -130,7 +133,9 @@ else ms5611 start fi -tests all +if tests all +then +fi if [ $? != 0 ] then set unit_test_failure 1 |