test: valgrind --trace-children=yes for bitcoin wrapper
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -192,7 +192,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
|||||||
parser.add_argument("--perf", dest="perf", default=False, action="store_true",
|
parser.add_argument("--perf", dest="perf", default=False, action="store_true",
|
||||||
help="profile running nodes with perf for the duration of the test")
|
help="profile running nodes with perf for the duration of the test")
|
||||||
parser.add_argument("--valgrind", dest="valgrind", default=False, action="store_true",
|
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,
|
parser.add_argument("--randomseed", type=int,
|
||||||
help="set a random seed for deterministically reproducing a previous test run")
|
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")
|
parser.add_argument("--timeout-factor", dest="timeout_factor", type=float, help="adjust test timeouts by a factor. Setting it to 0 disables all timeouts")
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ class Binaries:
|
|||||||
"valgrind",
|
"valgrind",
|
||||||
f"--suppressions={suppressions_file}",
|
f"--suppressions={suppressions_file}",
|
||||||
"--gen-suppressions=all",
|
"--gen-suppressions=all",
|
||||||
|
"--trace-children=yes", # Needed for 'bitcoin' wrapper
|
||||||
"--exit-on-first-error=yes",
|
"--exit-on-first-error=yes",
|
||||||
"--error-exitcode=1",
|
"--error-exitcode=1",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
|
|||||||
Reference in new issue
Block a user