autotest: make error in test_build_options.py clearer

This commit is contained in:
Peter Barker 2022-09-15 19:35:39 +10:00 committed by Andrew Tridgell
parent bdc848743d
commit ac14c3bba6
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class TestBuildOptions(object):
for x in options:
if x.label == label:
return x
raise ValueError("No such")
raise ValueError("No such option (%s)" % label)
def run_disable_all(self):
options = self.get_build_options_from_ardupilot_tree()