Skip to content

Commit

Permalink
Tools: ardupilotwaf: Print list of possible groups
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric authored and peterbarker committed Nov 7, 2024
1 parent 2154050 commit e4d92ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Tools/ardupilotwaf/ardupilotwaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit e4d92ec

Please sign in to comment.