aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/cifuzz/actions
diff options
context:
space:
mode:
authorGravatar Leo Neat <leosneat@gmail.com>2020-02-10 10:00:54 -0800
committerGravatar GitHub <noreply@github.com>2020-02-10 10:00:54 -0800
commitffc6af6d1d24b3218077016923791dc9dce91d86 (patch)
tree6fcb2701fd84ac2d7559ee2d0a9cbcbb7ab1d3e4 /infra/cifuzz/actions
parent891450ddec92a972562d091bb637f9b167218740 (diff)
[CIFuzz] Add parse fuzzer output functionality (#3342)
Diffstat (limited to 'infra/cifuzz/actions')
-rw-r--r--infra/cifuzz/actions/run_fuzzers/run_fuzzers_entrypoint.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/infra/cifuzz/actions/run_fuzzers/run_fuzzers_entrypoint.py b/infra/cifuzz/actions/run_fuzzers/run_fuzzers_entrypoint.py
index e2bfc5ca..ab18c156 100644
--- a/infra/cifuzz/actions/run_fuzzers/run_fuzzers_entrypoint.py
+++ b/infra/cifuzz/actions/run_fuzzers/run_fuzzers_entrypoint.py
@@ -63,11 +63,8 @@ def main():
# If the file does not exist, the action will crash attempting to upload it.
# The dry run needs this file because it is set to upload a test case both
# on successful runs and on failures.
- out_dir = os.path.join(workspace, 'out')
+ out_dir = os.path.join(workspace, 'out', 'bug_report')
os.makedirs(out_dir, exist_ok=True)
- file_handle = open(os.path.join(out_dir, 'testcase'), 'w')
- file_handle.write('No bugs detected.')
- file_handle.close()
# Sets the default return code on error to success.
error_code = 0