Skip to content

Commit dd5ece0

Browse files
committed
pytest: consolidate test summary information options: (s)kipped, (f)ailed, (E)rror; 'fE' is the default
1 parent 9e13891 commit dd5ece0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ diff-cover.html: coverage.xml
160160

161161
## test : run the cwltool test suite
162162
test: $(PYSOURCES)
163-
python3 -m pytest -rsfE ${PYTEST_EXTRA}
163+
python3 -m pytest ${PYTEST_EXTRA}
164164

165165
## testcov : run the cwltool test suite and collect coverage
166166
testcov: $(PYSOURCES)
167-
python3 -m pytest -rsfE --cov --cov-config=.coveragerc --cov-report= ${PYTEST_EXTRA}
167+
python3 -m pytest --cov --cov-config=.coveragerc --cov-report= ${PYTEST_EXTRA}
168168

169169
sloccount.sc: $(PYSOURCES) Makefile
170170
sloccount --duplicates --wide --details $^ > $@
@@ -183,7 +183,7 @@ mypy: $(PYSOURCES)
183183

184184
mypyc: $(PYSOURCES)
185185
MYPYPATH=mypy-stubs CWLTOOL_USE_MYPYC=1 pip install --verbose -e . \
186-
&& pytest -rsfE -vv ${PYTEST_EXTRA}
186+
&& pytest -vv ${PYTEST_EXTRA}
187187

188188
shellcheck: FORCE
189189
shellcheck build-cwltool-docker.sh cwl-docker.sh release-test.sh conformance-test.sh \

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ envlist =
1111
skip_missing_interpreters = True
1212

1313
[pytest]
14-
addopts=--ignore cwltool/schemas -n logical --dist worksteal
14+
addopts=--ignore cwltool/schemas -n logical --dist worksteal -rsfE
1515
testpaths = tests
1616

1717
[gh-actions]

0 commit comments

Comments
 (0)