File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 55PYTHON ?= python
66NOSETESTS =` which nosetests `
77
8- .PHONY : zipdoc sdist egg upload_to_pypi trailing-spaces clean-pyc clean-so clean-build clean-ctags clean in inplace test-code test-doc test- coverage test html specs check-before-commit check
8+ .PHONY : zipdoc sdist egg upload_to_pypi trailing-spaces clean-pyc clean-so clean-build clean-ctags clean in inplace test-code test-coverage test html specs check-before-commit check
99
1010zipdoc : html
1111 zip documentation.zip doc/_build/html
@@ -56,16 +56,11 @@ inplace:
5656 $(PYTHON ) setup.py build_ext -i
5757
5858test-code : in
59- python -W once:FSL:UserWarning:nipype $(NOSETESTS ) --with-doctest --with-doctest-ignore-unicode --logging-level=DEBUG --verbosity=3 nipype
60-
61- test-doc :
62- $(NOSETESTS ) -s --with-doctest --with-doctest-ignore-unicode --doctest-tests --doctest-extension=rst \
63- --doctest-fixtures=_fixture doc/
59+ py.test --doctest-module nipype
6460
6561test-coverage : clean-tests in
66- $(NOSETESTS ) -s --with-doctest --with-doctest-ignore-unicode --with-coverage --cover-package=nipype \
67- --config=.coveragerc
68-
62+ py.test --doctest-modules --cov-config .coveragerc --cov=nipype nipype
63+
6964test : tests # just another name
7065tests : clean test-code
7166
You can’t perform that action at this time.
0 commit comments