mirror of https://github.com/google/oss-fuzz.git
Fix upload_corpus call arguments for batch fuzzing. (#6050)
This commit is contained in:
parent
e138c76bfa
commit
b1e5ef81c0
|
@ -225,8 +225,7 @@ class BatchFuzzTargetRunner(BaseFuzzTargetRunner):
|
||||||
"""Fuzzes with |fuzz_target_obj| and returns the result."""
|
"""Fuzzes with |fuzz_target_obj| and returns the result."""
|
||||||
result = fuzz_target_obj.fuzz()
|
result = fuzz_target_obj.fuzz()
|
||||||
logging.debug('corpus_path: %s', os.listdir(result.corpus_path))
|
logging.debug('corpus_path: %s', os.listdir(result.corpus_path))
|
||||||
self.clusterfuzz_deployment.upload_corpus(fuzz_target_obj.target_name,
|
self.clusterfuzz_deployment.upload_corpus(fuzz_target_obj.target_name)
|
||||||
result.corpus_path)
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def cleanup_after_fuzz_target_run(self, fuzz_target_obj):
|
def cleanup_after_fuzz_target_run(self, fuzz_target_obj):
|
||||||
|
|
Loading…
Reference in New Issue