test_lightning.py: use NO_VALGRIND instead of NOVALGRIND.

This variable also turns of valgrind on the unit tests.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-08-31 11:32:47 +09:30
committed by Christian Decker
parent 1cf33eefe2
commit 5a5e23c011
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ import utils
bitcoind = None
TEST_DIR = tempfile.mkdtemp(prefix='lightning-')
VALGRIND = os.getenv("NOVALGRIND", "0") == "0"
VALGRIND = os.getenv("NO_VALGRIND", "0") == "0"
TEST_DEBUG = os.getenv("TEST_DEBUG", "0") == "1"
print("Testing results are in {}".format(TEST_DIR))