aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/test_node.py
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2023-08-21 12:08:39 +0200
committerSjors Provoost <sjors@sprovoost.nl>2023-10-12 09:25:44 +0200
commit850670e3d63ed7d04b417a43cb8ab06292aa2c23 (patch)
treea891af24e16314141cc677af8337b23c209f5ca8 /test/functional/test_framework/test_node.py
parentccf7895e179f6b35ad09788b57563057703ccb53 (diff)
test: don't run old binaries under valgrind
This is unnecessary and caused test failures. The backward compatibility tests are meant to find regressions in the current codebase, not to detect bugs in older releases.
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-xtest/functional/test_framework/test_node.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index fc92aa445a..4d7adf322c 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -110,7 +110,8 @@ class TestNode():
if self.descriptors is None:
self.args.append("-disablewallet")
- if use_valgrind:
+ # Use valgrind, expect for previous release binaries
+ if use_valgrind and version is None:
default_suppressions_file = Path(__file__).parents[3] / "contrib" / "valgrind.supp"
suppressions_file = os.getenv("VALGRIND_SUPPRESSIONS_FILE",
default_suppressions_file)