mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: ardupilotwaf: Print list of possible groups
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
215405023d
commit
e4d92ecf9f
@ -620,13 +620,14 @@ def _select_programs_from_group(bld):
|
|||||||
else:
|
else:
|
||||||
groups = ['bin']
|
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:
|
if 'all' in groups:
|
||||||
groups = list(_grouped_programs.keys())
|
groups = possible_groups
|
||||||
groups.remove('bin') # Remove `bin` so as not to duplicate all items in bin
|
|
||||||
|
|
||||||
for group in groups:
|
for group in groups:
|
||||||
if group not in _grouped_programs:
|
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()
|
target_names = _grouped_programs[group].keys()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user