mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
cleanup: Make lnprototest run only with DEVELOPER=1
This commit is contained in:
parent
f08ae49134
commit
e02e972729
4
Makefile
4
Makefile
@ -380,7 +380,11 @@ check-protos: $(ALL_PROGRAMS)
|
||||
ifeq ($(PYTEST),)
|
||||
@echo "py.test is required to run the protocol tests, please install using 'pip3 install -r requirements.txt', and rerun 'configure'."; false
|
||||
else
|
||||
ifeq ($(DEVELOPER),1)
|
||||
@(cd external/lnprototest && PYTHONPATH=$(PYTHONPATH) LIGHTNING_SRC=../.. $(PYTEST) --runner lnprototest.clightning.Runner $(PYTEST_OPTS))
|
||||
else
|
||||
@echo "lnprototest target requires DEVELOPER=1, skipping"
|
||||
endif
|
||||
endif
|
||||
|
||||
pytest: $(ALL_PROGRAMS)
|
||||
|
Loading…
Reference in New Issue
Block a user