diff options
author | Jack Lloyd <[email protected]> | 2019-02-21 10:51:14 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-02-21 10:51:14 -0500 |
commit | 95249af832950ed6f617cead59a504e47ed57499 (patch) | |
tree | bb05790bf859441a413b0b52c65c12cbe014d91e /src/scripts | |
parent | d5be1fbb4ef223c989d2ffd3f26e38be8f0695cd (diff) |
Reset the crash count in test fuzzer script
It carried over across all fuzzer types
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/test_fuzzers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripts/test_fuzzers.py b/src/scripts/test_fuzzers.py index 75d98abe0..01c202f23 100755 --- a/src/scripts/test_fuzzers.py +++ b/src/scripts/test_fuzzers.py @@ -148,6 +148,7 @@ def main(args=None): duration = time.time() - start print("Tested fuzzer %s with %d test cases, %d crashes in %.02f seconds" % ( fuzzer, len(corpus_files), crash_count, duration)) + crash_count = 0 sys.stdout.flush() else: for fuzzer in sorted(list(fuzzers_with_corpus)): @@ -175,6 +176,7 @@ def main(args=None): print("Tested fuzzer %s with %d test cases, %d crashes in %.02f seconds" % ( fuzzer, len(corpus_files), crash_count, duration)) + crash_count = 0 if crash_count > 0 or stderr_count > 0 or stdout_count > 0: print("Ran fuzzer tests, %d crashes %d stdout %d stderr" % (crash_count, stdout_count, stderr_count)) |