mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
More adjustments to test start
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user