mirror of https://github.com/ArduPilot/ardupilot
Tools: autotest builds each vehicle parameters individually
This commit is contained in:
parent
bff2b3986d
commit
ceb611a056
|
@ -115,9 +115,10 @@ 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:
|
||||||
return False
|
print("Failed param_parse.py (%s)" % vehicle)
|
||||||
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue