summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-03 22:24:00 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-04 00:59:30 +0900
commit5b7d237db380a75c27137fb37f0396f4a3dc3ecd (patch)
treef309a2fd9356e185d55b4937afb515c394066f35 /Makefile
parent54c8c012228559c3bf30011977984a60a9299e9b (diff)
downloadsphinx-git-5b7d237db380a75c27137fb37f0396f4a3dc3ecd.tar.gz
pytest migration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 652ade4f4..887f3e2a7 100644
--- a/Makefile
+++ b/Makefile
@@ -72,14 +72,13 @@ reindent:
@$(PYTHON) utils/reindent.py -r -n .
test:
- @cd tests; $(PYTHON) run.py -I py35 -d -m '^[tT]est' $(TEST)
+ @cd tests; $(PYTHON) run.py --ignore py35 -v $(TEST)
test-async:
- @cd tests; $(PYTHON) run.py -d -m '^[tT]est' $(TEST)
+ @cd tests; $(PYTHON) run.py -v $(TEST)
covertest:
- @cd tests; $(PYTHON) run.py -d -m '^[tT]est' --with-coverage \
- --cover-package=sphinx $(TEST)
+ @cd tests; $(PYTHON) run.py -v --cov=sphinx --junitxml=.junit.xml $(TEST)
build:
@$(PYTHON) setup.py build