Skip to content

Commit

Permalink
Unify the bucket directory name for target binary in `target_experime…
Browse files Browse the repository at this point in the history
…nt.py` (google#11713)

Related: google/oss-fuzz-gen#172, google#11700.
This simplifies the link generation in benchmark `JSON`.
Previously, the binary directory name matches the binary name, now it is
always called `target_binary/`.
  • Loading branch information
DonggeLiu authored Mar 20, 2024
1 parent 25ced0d commit 153df72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/build/functions/target_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def run_experiment(project_name, target_name, args, output_path,
f'find {build.out} -type f -name {target_name} -exec bash -c '
f'\'cp "$0" "{local_target_dir}/$(echo "$0" | sed "s@/@_@g")"\' '
f'{{}} \\; && gsutil cp -r {local_target_dir} '
f'{upload_reproducer_path}/{target_name} || true'),
f'{upload_reproducer_path}/target_binary || true'),
],
})

Expand Down

0 comments on commit 153df72

Please sign in to comment.