diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-09 18:42:52 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-09 18:43:15 +0100 |
commit | ebc1b29db04d1c48effe8a97fbd5466cfb60da18 (patch) | |
tree | 28ef523cef86783e34f4c3ae4fb2213ca3f59b7c /ROMFS | |
parent | c371eb9b901f0644bc4732934156a27cf5c4be5c (diff) | |
download | px4-firmware-ebc1b29db04d1c48effe8a97fbd5466cfb60da18.tar.gz px4-firmware-ebc1b29db04d1c48effe8a97fbd5466cfb60da18.tar.bz2 px4-firmware-ebc1b29db04d1c48effe8a97fbd5466cfb60da18.zip |
ROMFS for bench setup: More unit test fixing.
Diffstat (limited to 'ROMFS')
-rw-r--r-- | ROMFS/px4fmu_test/init.d/rcS | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS index 1d34bc233..e1ddea3d9 100644 --- a/ROMFS/px4fmu_test/init.d/rcS +++ b/ROMFS/px4fmu_test/init.d/rcS @@ -33,6 +33,17 @@ fi # Start a minimal system # +# +# Load parameters +# +set PARAM_FILE /fs/microsd/params +if mtd start +then + set PARAM_FILE /fs/mtd_params +fi + +param select $PARAM_FILE + if [ -f /etc/extras/px4io-v2_default.bin ] then set io_file /etc/extras/px4io-v2_default.bin @@ -89,18 +100,21 @@ fi if mavlink_tests then +else set unit_test_failure 1 set unit_test_failure_list "${unit_test_failure_list} mavlink_tests" fi if commander_tests then +else set unit_test_failure 1 set unit_test_failure_list "${unit_test_failure_list} commander_tests" fi if uorb test then +else set unit_test_failure 1 set unit_test_failure_list "${unit_test_failure_list} uorb_tests" fi @@ -173,6 +187,10 @@ else fi fi +if sensors start +then +fi + # Check for flow sensor if px4flow start then @@ -184,6 +202,7 @@ fi if tests all then +else set unit_test_failure 1 set unit_test_failure_list "${unit_test_failure_list} system_tests" fi |