annotate test/run_tests.py @ 396:fb3c1f029b30
Added baselexer into c3 lexer
author |
Windel Bouwman |
date |
Tue, 27 May 2014 22:19:32 +0200 |
parents |
fc1b89b09896 |
children |
|
rev |
line source |
373
|
1 import sys
|
|
2 import unittest
|
|
3
|
|
4 if sys.version_info.major < 3:
|
|
5 print('Requires python 3 at least')
|
|
6 sys.exit()
|
|
7
|
|
8 sys.path.insert(0, '../python')
|
|
9
|
|
10 loader = unittest.TestLoader()
|
|
11 suite = unittest.TestSuite()
|
|
12
|
|
13 for test in loader.discover('.'):
|
|
14 suite.addTest(test)
|
|
15
|
|
16 unittest.TextTestRunner().run(suite)
|
|
17
|