mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
cleanup: Make lnprototest run only with DEVELOPER=1
This commit is contained in:
parent
f08ae49134
commit
e02e972729
1 changed files with 4 additions and 0 deletions
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…
Add table
Reference in a new issue