From 956a05a126cebb085178cea318543369926362b2 Mon Sep 17 00:00:00 2001 From: Justin Husted Date: Mon, 16 Dec 2019 21:06:40 -0800 Subject: [PATCH] Make valgrind disabled by default in unit tests. Since valgrind runtime support is disabled by default, we shouldn't run the tests with valgrind by default. Signed-off-by: Justin Husted --- tests/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util.py b/tests/util.py index fd8efd4..a9e9746 100644 --- a/tests/util.py +++ b/tests/util.py @@ -16,7 +16,7 @@ BCH_PATH = DIR / 'bcachefs' VPAT = re.compile(r'ERROR SUMMARY: (\d+) errors from (\d+) contexts') -ENABLE_VALGRIND = os.getenv('BCACHEFS_TEST_USE_VALGRIND', 'yes') == 'yes' +ENABLE_VALGRIND = os.getenv('BCACHEFS_TEST_USE_VALGRIND', 'no') == 'yes' class ValgrindFailedError(Exception): def __init__(self, log): -- 2.39.2