]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Make valgrind disabled by default in unit tests.
authorJustin Husted <sigstop@gmail.com>
Tue, 17 Dec 2019 05:06:40 +0000 (21:06 -0800)
committerJustin Husted <sigstop@gmail.com>
Sat, 28 Dec 2019 22:18:56 +0000 (14:18 -0800)
Since valgrind runtime support is disabled by default, we shouldn't run
the tests with valgrind by default.

Signed-off-by: Justin Husted <sigstop@gmail.com>
tests/util.py

index fd8efd4750082e2ffb539068ce53cb889f1bf377..a9e9746441dc3a9e60ffc3449dde9172518ad849 100644 (file)
@@ -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):