forked from Archive/PX4-Autopilot
More adjustments to test start
This commit is contained in:
parent
6149f8365c
commit
60dcff447c
|
@ -112,7 +112,10 @@ fi
|
||||||
|
|
||||||
adc start
|
adc start
|
||||||
# XXX this syntax is not quite right, but if takes no flags (yet)
|
# 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
|
then
|
||||||
# This is an FMUv1 or FMUv2
|
# This is an FMUv1 or FMUv2
|
||||||
echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)"
|
echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)"
|
||||||
|
@ -130,7 +133,9 @@ else
|
||||||
ms5611 start
|
ms5611 start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tests all
|
if tests all
|
||||||
|
then
|
||||||
|
fi
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
set unit_test_failure 1
|
set unit_test_failure 1
|
||||||
|
|
Loading…
Reference in New Issue