mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
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.
This commit is contained in:
committed by
Christian Decker
parent
620e199cb3
commit
16b7aab30b
2
Makefile
2
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'"
|
@echo "py.test is required to run the integration tests, please install using 'pip3 install -r tests/requirements.txt'"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
# Keep includes in alpha order.
|
# Keep includes in alpha order.
|
||||||
|
|||||||
Reference in New Issue
Block a user