From e02e972729904e446f2d845a7544d0c75c669a44 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 28 Apr 2021 17:28:10 +0200 Subject: [PATCH] cleanup: Make lnprototest run only with DEVELOPER=1 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 09b507eee..97ef098ec 100644 --- a/Makefile +++ b/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)