File tree 1 file changed +4
-9
lines changed 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 5
5
PYTHON ?= python
6
6
NOSETESTS =` which nosetests `
7
7
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
9
9
10
10
zipdoc : html
11
11
zip documentation.zip doc/_build/html
@@ -56,16 +56,11 @@ inplace:
56
56
$(PYTHON ) setup.py build_ext -i
57
57
58
58
test-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
64
60
65
61
test-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
+
69
64
test : tests # just another name
70
65
tests : clean test-code
71
66
You can’t perform that action at this time.
0 commit comments