test: valgrind --trace-children=yes for bitcoin wrapper

This commit is contained in:
MarcoFalke 2026-02-18 15:25:09 +01:00
parent fa29fb72cb
commit fa5d478853
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,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")

View File

@ -256,6 +256,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",