mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-24 00:33:56 -04:00
Tools: autotest builds each vehicle parameters individually
This commit is contained in:
parent
ea2c156c7f
commit
94afaebdb7
@ -126,8 +126,9 @@ def build_examples():
|
|||||||
def build_parameters():
|
def build_parameters():
|
||||||
"""Run the param_parse.py script."""
|
"""Run the param_parse.py script."""
|
||||||
print("Running param_parse.py")
|
print("Running param_parse.py")
|
||||||
if util.run_cmd(util.reltopdir('Tools/autotest/param_metadata/param_parse.py'), directory=util.reltopdir('.')) != 0:
|
for vehicle in 'ArduPlane', 'ArduCopter', 'ArduSub', 'APMrover2', 'AntennaTracker':
|
||||||
print("Failed param_parse.py")
|
if util.run_cmd([util.reltopdir('Tools/autotest/param_metadata/param_parse.py'), '--vehicle', vehicle], directory=util.reltopdir('.')) != 0:
|
||||||
|
print("Failed param_parse.py (%s)" % vehicle)
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user