From 16b7aab30b8ea0e355a2cc9132bcc4eb2fee7d46 Mon Sep 17 00:00:00 2001 From: Jan Sarenik Date: Sun, 29 Apr 2018 17:12:35 +0200 Subject: [PATCH] Makefile: Add NO_VALGRIND to pytest environment Previously, by uncommenting NO_VALGRIND in Makefile, the variable was not propagated and the pytest children processes would still try to use Valgrind. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9d107a753..e561ca5de 100644 --- a/Makefile +++ b/Makefile @@ -215,7 +215,7 @@ ifndef PYTEST @echo "py.test is required to run the integration tests, please install using 'pip3 install -r tests/requirements.txt'" exit 1 else - PYTHONPATH=contrib/pylightning:$$PYTHONPATH TEST_DEBUG=1 DEVELOPER=$(DEVELOPER) $(PYTEST) tests/ $(PYTEST_OPTS) + PYTHONPATH=contrib/pylightning:$$PYTHONPATH TEST_DEBUG=1 DEVELOPER=$(DEVELOPER) NO_VALGRIND=$(NO_VALGRIND) $(PYTEST) tests/ $(PYTEST_OPTS) endif # Keep includes in alpha order.