lkd-planet/runtests.py
Alper Kanat 9359621759 * logs, sync: added a new directory and bash script that syncronizes planet and
logs everything in the meantime..
* set executable bit for some of the files..
2008-11-03 23:25:14 +00:00

12 lines
311 B
Python
Executable File

#!/usr/bin/env python
import glob, trace, unittest
# find all of the planet test modules
modules = map(trace.fullmodname, glob.glob('planet/tests/test_*.py'))
# load all of the tests into a suite
suite = unittest.TestLoader().loadTestsFromNames(modules)
# run test suite
unittest.TextTestRunner().run(suite)