Merge pull request #61 from hgrecco/master
Fix Python 3.2 and provides testing for travis
This commit is contained in:
commit
edc391f292
11 changed files with 62 additions and 32 deletions
|
|
@ -34,9 +34,11 @@ class LLVMException(Exception):
|
|||
def test(verbosity=1):
|
||||
"""test(verbosity=1) -> TextTestResult
|
||||
|
||||
Run self-test, and return unittest.runner.TextTestResult object.
|
||||
Run self-test, and return the number of failures + errors
|
||||
"""
|
||||
from llvm.test_llvmpy import run
|
||||
|
||||
return run(verbosity=verbosity)
|
||||
result = run(verbosity=verbosity)
|
||||
|
||||
return len(result.failures) + len(result.errors)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue