diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-02-17 13:34:51 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-02-18 06:56:26 +0000 |
commit | a3b539a924f8611abb3096f2bd9d35094b5577e3 (patch) | |
tree | a01f85b632f0a830084bd2ace903bd68086d7ecd /test/fuzz | |
parent | 179504ccb6f4e5a4418b064a184ba37b04491a31 (diff) |
ci: Run fuzz testing test cases under valgrind
Diffstat (limited to 'test/fuzz')
-rwxr-xr-x | test/fuzz/test_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz/test_runner.py b/test/fuzz/test_runner.py index 61c3e700c5..b638e6bac6 100755 --- a/test/fuzz/test_runner.py +++ b/test/fuzz/test_runner.py @@ -64,7 +64,7 @@ def main(): parser.add_argument( '--valgrind', action='store_true', - help='If true, run fuzzing binaries under the valgrind memory error detector. Valgrind 3.14 or later required.', + help='If true, run fuzzing binaries under the valgrind memory error detector', ) parser.add_argument( 'seed_dir', @@ -150,7 +150,7 @@ def run_once(*, corpus, test_list, build_dir, export_coverage, use_valgrind): corpus_path, ] if use_valgrind: - args = ['valgrind', '--quiet', '--error-exitcode=1', '--exit-on-first-error=yes'] + args + args = ['valgrind', '--quiet', '--error-exitcode=1'] + args logging.debug('Run {} with args {}'.format(t, args)) result = subprocess.run(args, stderr=subprocess.PIPE, universal_newlines=True) output = result.stderr |