Mercurial > lcfOS
view test/run_tests.py @ 387:34ac19044b8a
Hello world with paging in emulator
author | Windel Bouwman |
---|---|
date | Thu, 01 May 2014 22:09:18 +0200 |
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)