vim/sadness/bike/testall.py @ cffc630cdd07
Merge.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 13 Jan 2011 00:02:54 -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()