mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 07:52:39 +00:00
test: valgrind --trace-children=yes for bitcoin wrapper
Github-Pull: #34608 Rebased-From: fa5d478853a88ce7d7095b6abfe8112390298b65
This commit is contained in:
parent
dd8924909a
commit
dca7700269
@ -81,6 +81,7 @@ class Binaries:
|
||||
"valgrind",
|
||||
f"--suppressions={suppressions_file}",
|
||||
"--gen-suppressions=all",
|
||||
"--trace-children=yes", # Needed for 'bitcoin' wrapper
|
||||
"--exit-on-first-error=yes",
|
||||
"--error-exitcode=1",
|
||||
"--quiet",
|
||||
@ -263,7 +264,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||
parser.add_argument("--perf", dest="perf", default=False, action="store_true",
|
||||
help="profile running nodes with perf for the duration of the test")
|
||||
parser.add_argument("--valgrind", dest="valgrind", default=False, action="store_true",
|
||||
help="Run binaries under the valgrind memory error detector: Expect at least a ~10x slowdown. Does not apply to previous release binaries or binaries called from the bitcoin wrapper executable.")
|
||||
help="Run binaries under the valgrind memory error detector: Expect at least a ~10x slowdown. Does not apply to previous release binaries.")
|
||||
parser.add_argument("--randomseed", type=int,
|
||||
help="set a random seed for deterministically reproducing a previous test run")
|
||||
parser.add_argument("--timeout-factor", dest="timeout_factor", type=float, help="adjust test timeouts by a factor. Setting it to 0 disables all timeouts")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user