diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2012-10-22 12:12:23 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2012-10-22 12:12:23 -0400 |
commit | fe52b5a448f559e70297cbd836eca228656746c4 (patch) | |
tree | bc8f5a02c555c867d712b26c2ba2b7a07aba817e /ptr.py | |
parent | 321a0b611d0e78c57a7904afe7e508cd8bf339a1 (diff) | |
download | pytest-runner-fe52b5a448f559e70297cbd836eca228656746c4.tar.gz |
Force exit on test failure1.2
Diffstat (limited to 'ptr.py')
-rw-r--r-- | ptr.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +55,8 @@ class PyTest(_pytest_runner_test.test): self.announce('skipping tests (dry run)') return self.with_project_on_sys_path(self.run_tests) + if self.result_code: + raise SystemExit(self.result_code) return self.result_code def _build_egg_fetcher(self): |