mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
pytest: Allow test parallelism to be configured via env var
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
dcbd27e7cf
commit
e117d25c1f
4
Makefile
4
Makefile
@@ -200,6 +200,10 @@ ifneq ($(TEST_GROUP_COUNT),)
|
|||||||
PYTEST_OPTS += --test-group=$(TEST_GROUP) --test-group-count=$(TEST_GROUP_COUNT)
|
PYTEST_OPTS += --test-group=$(TEST_GROUP) --test-group-count=$(TEST_GROUP_COUNT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(PYTEST_PAR),)
|
||||||
|
PYTEST_OPTS += -n=$(PYTEST_PAR)
|
||||||
|
endif
|
||||||
|
|
||||||
check:
|
check:
|
||||||
$(MAKE) installcheck
|
$(MAKE) installcheck
|
||||||
$(MAKE) pytest
|
$(MAKE) pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user