mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
systemcmds/tests: split out individual module test commands
This commit is contained in:
14
posix-configs/SITL/init/test/test_cmd_template.in
Normal file
14
posix-configs/SITL/init/test/test_cmd_template.in
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# PX4 commands need the 'px4-' prefix in bash.
|
||||
# (px4-alias.sh is expected to be in the PATH)
|
||||
. px4-alias.sh
|
||||
|
||||
dataman start
|
||||
|
||||
simulator start
|
||||
tone_alarm start
|
||||
pwm_out_sim start
|
||||
|
||||
@test_name@
|
||||
|
||||
shutdown
|
||||
@@ -19,8 +19,6 @@ ver all
|
||||
mavlink start -x -u 14556 -r 2000000 -p
|
||||
mavlink boot_complete
|
||||
|
||||
tests mavlink
|
||||
|
||||
dataman status
|
||||
mavlink_tests
|
||||
|
||||
shutdown
|
||||
|
||||
@@ -3,20 +3,12 @@
|
||||
# (px4-alias.sh is expected to be in the PATH)
|
||||
. px4-alias.sh
|
||||
|
||||
param load
|
||||
param set CBRK_SUPPLY_CHK 894281
|
||||
param set SYS_RESTART_TYPE 0
|
||||
|
||||
dataman start
|
||||
|
||||
simulator start
|
||||
tone_alarm start
|
||||
pwm_out_sim start
|
||||
|
||||
ver all
|
||||
|
||||
tests @test_name@
|
||||
|
||||
dataman status
|
||||
|
||||
shutdown
|
||||
|
||||
Reference in New Issue
Block a user