From: Justin Husted Date: Tue, 17 Dec 2019 05:06:40 +0000 (-0800) Subject: Make valgrind disabled by default in unit tests. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=956a05a126cebb085178cea318543369926362b2;p=bcachefs-tools-debian 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 --- 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):