Skip to content

Commit

Permalink
wrapping pytest.main() call in the runtests.py; fixing the script exi…
Browse files Browse the repository at this point in the history
…t code
  • Loading branch information
palazzem committed Dec 15, 2015
1 parent 21c6f25 commit df5d5a1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion runtests.py
@@ -1,4 +1,8 @@
#!/usr/bin/env python
import sys
import pytest

pytest.main()

# sys.exit() is required otherwise the wrapper exits
# with exit code 0, regardless the pytest.main() execution
sys.exit(pytest.main())

0 comments on commit df5d5a1

Please sign in to comment.