diff options
| author | MarcoFalke <[email protected]> | 2019-06-18 17:36:36 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-06-18 17:36:39 -0400 |
| commit | ac4d38c337dbae58a5ab712d61da1db7a9491fc2 (patch) | |
| tree | 7fcfff304bdbf2bf6485a2118c1d5bc82960b59e | |
| parent | Merge #16092: Don't use global (external) symbols for symbols that are used i... (diff) | |
| parent | test: Suppress false positive leak in secure_allocator<RNGState> (diff) | |
| download | discoin-ac4d38c337dbae58a5ab712d61da1db7a9491fc2.tar.xz discoin-ac4d38c337dbae58a5ab712d61da1db7a9491fc2.zip | |
Merge #16236: fuzz: Log output even if fuzzer failed
fa410f67aa test: Suppress false positive leak in secure_allocator<RNGState> (MarcoFalke)
fa35c4239f test: Log output even if fuzzer failed (MarcoFalke)
Pull request description:
Also suppress a false positive detected leak
ACKs for commit fa410f:
practicalswift:
utACK fa410f67aa1d0ccd306dc16e438c1a034b8cc049
Tree-SHA512: 224a72ae0dd9bbe7debda17cd626c01cfbd0e45d7df47a2b591ce8ea386951ad94f4c0677dd268079a4caac382c5acac03199146015a95c308a633e9e4f84c09
| -rwxr-xr-x | test/fuzz/test_runner.py | 4 | ||||
| -rw-r--r-- | test/sanitizer_suppressions/lsan | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/fuzz/test_runner.py b/test/fuzz/test_runner.py index 1869f7175..f19cf924d 100755 --- a/test/fuzz/test_runner.py +++ b/test/fuzz/test_runner.py @@ -106,8 +106,10 @@ def run_once(*, corpus, test_list, build_dir, export_coverage): os.path.join(corpus, t), ] logging.debug('Run {} with args {}'.format(t, args)) - output = subprocess.run(args, check=True, stderr=subprocess.PIPE, universal_newlines=True).stderr + result = subprocess.run(args, stderr=subprocess.PIPE, universal_newlines=True) + output = result.stderr logging.debug('Output: {}'.format(output)) + result.check_returncode() if not export_coverage: continue for l in output.splitlines(): diff --git a/test/sanitizer_suppressions/lsan b/test/sanitizer_suppressions/lsan index 6f15c0f1d..90a92a511 100644 --- a/test/sanitizer_suppressions/lsan +++ b/test/sanitizer_suppressions/lsan @@ -4,3 +4,6 @@ leak:libqminimal leak:libQt5Core leak:libQt5Gui leak:libQt5Widgets + +# false-positive due to use of secure_allocator<> +leak:GetRNGState |