aboutsummaryrefslogtreecommitdiff
path: root/infra/cifuzz/run_fuzzers_entrypoint.py
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-01-26 08:32:41 -0800
committerGitHub <noreply@github.com>2021-01-26 08:32:41 -0800
commitd6ff0bfcdc3831a4d12aae6241194a14d817bc8e (patch)
treecf361447cca8e6a45d3fed9fe502f9285f8141d4 /infra/cifuzz/run_fuzzers_entrypoint.py
parent3e112546fc8a301ab03921749c234c61a14f3fdc (diff)
downloadoss-fuzz-d6ff0bfcdc3831a4d12aae6241194a14d817bc8e.tar.gz
[CIFuzz] Seperate code for running fuzzers into own module: run_fuzzers.py (#5031)
TODO: Rename cifuzz.py to build_fuzzers.py
Diffstat (limited to 'infra/cifuzz/run_fuzzers_entrypoint.py')
-rw-r--r--infra/cifuzz/run_fuzzers_entrypoint.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/infra/cifuzz/run_fuzzers_entrypoint.py b/infra/cifuzz/run_fuzzers_entrypoint.py
index 631d0a2af..86a5abede 100644
--- a/infra/cifuzz/run_fuzzers_entrypoint.py
+++ b/infra/cifuzz/run_fuzzers_entrypoint.py
@@ -16,7 +16,7 @@ import logging
import os
import sys
-import cifuzz
+import run_fuzzers
# pylint: disable=c-extension-no-member
# pylint gets confused because of the relative import of cifuzz.
@@ -77,10 +77,10 @@ def main():
logging.error('This script needs to be run in the Github action context.')
return returncode
# Run the specified project's fuzzers from the build.
- run_status, bug_found = cifuzz.run_fuzzers(fuzz_seconds,
- workspace,
- oss_fuzz_project_name,
- sanitizer=sanitizer)
+ run_status, bug_found = run_fuzzers.run_fuzzers(fuzz_seconds,
+ workspace,
+ oss_fuzz_project_name,
+ sanitizer=sanitizer)
if not run_status:
logging.error('Error occurred while running in workspace %s.', workspace)
return returncode