2013-04-06 16:30:31 -07:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import unittest
|
2016-08-03 04:47:42 -07:00
|
|
|
import logging
|
2013-04-06 16:30:31 -07:00
|
|
|
|
2016-08-03 04:47:42 -07:00
|
|
|
formatter = logging.Formatter("[%(levelname)s] %(name)s (%(filename)s: %(lineno)d) --- %(message)s")
|
|
|
|
handler = logging.StreamHandler()
|
|
|
|
handler.setFormatter(formatter)
|
|
|
|
efllog = logging.getLogger("efl")
|
|
|
|
efllog.addHandler(handler)
|
|
|
|
efllog.setLevel(logging.DEBUG)
|
2013-04-06 16:30:31 -07:00
|
|
|
|
|
|
|
loader = unittest.TestLoader()
|
|
|
|
suite = loader.discover('.')
|
|
|
|
runner = unittest.TextTestRunner(verbosity=2)
|
|
|
|
result = runner.run(suite)
|