mirror of https://github.com/google/oss-fuzz.git
handle wildcard label applying to all fuzz targets in a project (#7359)
Signed-off-by: Asra Ali <asraa@google.com>
This commit is contained in:
parent
4a656409a4
commit
2a72988f71
|
@ -29,6 +29,9 @@ def main():
|
|||
out = sys.argv[2]
|
||||
|
||||
for target_name, labels in labels_by_target.items():
|
||||
# Skip over wildcard value applying to all fuzz targets
|
||||
if target_name == '*':
|
||||
continue
|
||||
with open(os.path.join(out, target_name + '.labels'), 'w') as file_handle:
|
||||
file_handle.write('\n'.join(labels))
|
||||
|
||||
|
|
Loading…
Reference in New Issue