|
|
|
@ -251,7 +251,8 @@ def should_run_step(step):
@@ -251,7 +251,8 @@ def should_run_step(step):
|
|
|
|
|
|
|
|
|
|
__bin_names = { |
|
|
|
|
"ArduCopter": "arducopter", |
|
|
|
|
"ArduCopterExtra": "arducopter", |
|
|
|
|
"ArduCopterTests1": "arducopter", |
|
|
|
|
"ArduCopterTests2": "arducopter", |
|
|
|
|
"ArduPlane": "arduplane", |
|
|
|
|
"APMrover2": "ardurover", |
|
|
|
|
"AntennaTracker": "antennatracker", |
|
|
|
@ -303,7 +304,8 @@ def find_specific_test_to_run(step):
@@ -303,7 +304,8 @@ def find_specific_test_to_run(step):
|
|
|
|
|
|
|
|
|
|
tester_class_map = { |
|
|
|
|
"fly.ArduCopter": arducopter.AutoTestCopter, |
|
|
|
|
"fly.ArduCopterExtra": arducopter.AutoTestCopterExtra, |
|
|
|
|
"fly.ArduCopterTests1": arducopter.AutoTestCopterTests1, |
|
|
|
|
"fly.ArduCopterTests2": arducopter.AutoTestCopterTests2, |
|
|
|
|
"fly.ArduPlane": arduplane.AutoTestPlane, |
|
|
|
|
"fly.QuadPlane": quadplane.AutoTestQuadPlane, |
|
|
|
|
"drive.APMrover2": apmrover2.AutoTestRover, |
|
|
|
@ -771,7 +773,6 @@ if __name__ == "__main__":
@@ -771,7 +773,6 @@ if __name__ == "__main__":
|
|
|
|
|
'build.ArduCopter', |
|
|
|
|
'defaults.ArduCopter', |
|
|
|
|
'fly.ArduCopter', |
|
|
|
|
'fly.ArduCopterExtra', |
|
|
|
|
|
|
|
|
|
'build.Helicopter', |
|
|
|
|
'fly.CopterAVC', |
|
|
|
@ -787,6 +788,11 @@ if __name__ == "__main__":
@@ -787,6 +788,11 @@ if __name__ == "__main__":
|
|
|
|
|
'convertgpx', |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
moresteps = [ |
|
|
|
|
'fly.ArduCopterTests1', |
|
|
|
|
'fly.ArduCopterTests2', |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
skipsteps = opts.skip.split(',') |
|
|
|
|
|
|
|
|
|
# ensure we catch timeouts |
|
|
|
@ -820,6 +826,9 @@ if __name__ == "__main__":
@@ -820,6 +826,9 @@ if __name__ == "__main__":
|
|
|
|
|
if x is not None: |
|
|
|
|
matches.append(x) |
|
|
|
|
|
|
|
|
|
if a in moresteps: |
|
|
|
|
matches.append(a) |
|
|
|
|
|
|
|
|
|
if not len(matches): |
|
|
|
|
print("No steps matched {}".format(a)) |
|
|
|
|
sys.exit(1) |
|
|
|
|