Skip to content

Commit

Permalink
Merge pull request #384 from njsmith/enable-faulthandler
Browse files Browse the repository at this point in the history
Enable pytest-faulthandler
  • Loading branch information
njsmith authored Dec 21, 2017
2 parents bb08242 + 2fa6f0c commit d9e0f36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ test_script:
- "cd empty"
- "python -c \"import os, trio; print(os.path.dirname(trio.__file__))\""
# -u makes sure we get prompt output
- "python -u -m pytest -W error -ra --run-slow ../trio -v -s --cov=trio --cov-config=../.coveragerc"
- "python -u -m pytest -W error -ra --run-slow --faulthandler-timeout=60 ../trio -v -s --cov=trio --cov-config=../.coveragerc"
- "coverage combine"
- "codecov"
2 changes: 1 addition & 1 deletion ci/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ else
cd empty

INSTALLDIR=$(python -c "import os, trio; print(os.path.dirname(trio.__file__))")
pytest -W error -ra --run-slow ${INSTALLDIR} --cov="$INSTALLDIR" --cov-config=../.coveragerc --verbose
pytest -W error -ra --run-slow --faulthandler-timeout=60 ${INSTALLDIR} --cov="$INSTALLDIR" --cov-config=../.coveragerc --verbose

coverage combine
bash <(curl -s https://codecov.io/bash)
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest-cov
ipython # for the IPython traceback integration tests
pyOpenSSL # for the ssl tests
trustme # for the ssl tests
pytest-faulthandler

0 comments on commit d9e0f36

Please sign in to comment.