systemcmds/tests: split out individual module test commands

This commit is contained in:
Daniel Agar
2021-03-23 10:46:56 -04:00
parent 9b1cf98474
commit ea902e7f38
8 changed files with 66 additions and 75 deletions

View 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

View File

@@ -19,8 +19,6 @@ ver all
mavlink start -x -u 14556 -r 2000000 -p
mavlink boot_complete
tests mavlink
dataman status
mavlink_tests
shutdown

View File

@@ -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