vim/sadness/bike/testall.py @ bb44f2206b1c

mercurial: hack around Kaleidoscopes broken process detection
author Steve Losh <steve@stevelosh.com>
date Mon, 27 Dec 2010 16:10:25 -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()