Browse Source

pytest: Allow test parallelism to be configured via env var

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
committed by Rusty Russell
parent
commit
e117d25c1f
  1. 4
      Makefile

4
Makefile

@ -200,6 +200,10 @@ ifneq ($(TEST_GROUP_COUNT),)
PYTEST_OPTS += --test-group=$(TEST_GROUP) --test-group-count=$(TEST_GROUP_COUNT)
endif
ifneq ($(PYTEST_PAR),)
PYTEST_OPTS += -n=$(PYTEST_PAR)
endif
check:
$(MAKE) installcheck
$(MAKE) pytest

Loading…
Cancel
Save