Mercurial > lcfOS
view test/run_tests.py @ 408:ad6be5454067
Added image build task
author | Windel Bouwman |
---|---|
date | Sat, 21 Feb 2015 12:17:47 +0100 |
parents | fc1b89b09896 |
children |
line wrap: on
line source
import sys import unittest if sys.version_info.major < 3: print('Requires python 3 at least') sys.exit() sys.path.insert(0, '../python') loader = unittest.TestLoader() suite = unittest.TestSuite() for test in loader.discover('.'): suite.addTest(test) unittest.TextTestRunner().run(suite)