vim/sadness/bike/testall.py @ f987dd76cc9f
More.
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 08 Feb 2011 15:45:45 -0500 |
parents |
cfd5d659d737 |
children |
(none) |
#!/usr/bin/env python
import sys,os
# check version
if sys.version_info[0] < 2 or sys.version_info[0] == 2 and sys.version_info[1] < 2:
print "Python versions below 2.2 not supported"
sys.exit(0)
if not os.path.abspath(".") in sys.path:
sys.path.append(os.path.abspath("."))
from bike import logging
from bike.test_testutils import *
from bike.parsing.testall import *
from bike.query.testall import *
from bike.refactor.testall import *
from bike.testall import *
if __name__ == "__main__":
from bike import logging
logging.init()
log = logging.getLogger("bike")
log.setLevel(logging.WARN)
unittest.main()