vim/sadness/bike/testall.py @ 2769ab7796c0

vim: The Great Vimfiles Cleanup of January 2011
author Steve Losh <steve@stevelosh.com>
date Wed, 02 Feb 2011 15:21:47 -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()