We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c398b commit d247772Copy full SHA for d247772
Makefile
@@ -374,7 +374,14 @@ endif
374
375
check-units:
376
377
-check: check-units installcheck pytest
+check: check-units installcheck check-protos pytest
378
+
379
+check-protos: $(ALL_PROGRAMS)
380
+ifeq ($(PYTEST),)
381
+ @echo "py.test is required to run the protocol tests, please install using 'pip3 install -r requirements.txt', and rerun 'configure'."; false
382
+else
383
+ @(cd external/lnprototest && PYTHONPATH=$(PYTHONPATH) LIGHTNING_SRC=../.. $(PYTEST) --runner lnprototest.clightning.Runner $(PYTEST_OPTS))
384
+endif
385
386
pytest: $(ALL_PROGRAMS)
387
ifeq ($(PYTEST),)
0 commit comments