mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-23 23:54:44 +00:00
Run tests in parallel.
This commit is contained in:
parent
b71d8444a9
commit
44c195f91b
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -20,6 +20,7 @@ DNSPYTHON:=$(HOME)/src/dnspython-git
|
|||
PEP8OPTS:=--repeat --ignore=E211,E501,E225,E301,E302,E241 \
|
||||
--exclude="gzip2.py,httplib2.py,robotparser2.py,reindent.py"
|
||||
PY2APPOPTS ?=
|
||||
NUMPROCESSORS:=$(shell grep -c processor /proc/cpuinfo)
|
||||
|
||||
|
||||
.PHONY: all
|
||||
|
|
@ -198,7 +199,8 @@ sign_distfiles:
|
|||
|
||||
.PHONY: test
|
||||
test: localbuild
|
||||
$(PYTHON) $(shell which nosetests) -v -m "^test_.*" $(TESTOPTS) $(TESTS)
|
||||
$(PYTHON) $(shell which nosetests) --processes=$(NUMPROCESSORS) \
|
||||
-v -m "^test_.*" $(TESTOPTS) $(TESTS)
|
||||
|
||||
.PHONY: pyflakes
|
||||
pyflakes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue