Tools: ardupilotwaf: Print list of possible groups

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2024-11-05 12:07:28 -03:00 committed by Peter Barker
parent 215405023d
commit e4d92ecf9f
1 changed files with 4 additions and 3 deletions

View File

@ -620,13 +620,14 @@ def _select_programs_from_group(bld):
else:
groups = ['bin']
possible_groups = list(_grouped_programs.keys())
possible_groups.remove('bin') # Remove `bin` so as not to duplicate all items in bin
if 'all' in groups:
groups = list(_grouped_programs.keys())
groups.remove('bin') # Remove `bin` so as not to duplicate all items in bin
groups = possible_groups
for group in groups:
if group not in _grouped_programs:
bld.fatal('Group %s not found' % group)
bld.fatal(f'Group {group} not found, possible groups: {possible_groups}')
target_names = _grouped_programs[group].keys()