about summary refs log tree commit diff stats
path: root/html/039debug.cc.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/039debug.cc.html')
0 files changed, 0 insertions, 0 deletions
hut <hut@lavabit.com> 2009-12-11 23:35:26 +0100 committer hut <hut@lavabit.com> 2009-12-11 23:35:26 +0100 run all tests with a single executable' href='/akspecs/ranger/commit/all_tests.py?h=v1.9.0b1&id=084a0743189363c8c03aae1fe6766ae92a4469a3'>084a0743 ^
22449efd ^

1
2
3
4
5
6
7
8
9
10
11
12
13
                  



                                                                   
 



                                                                                       
 

                                                                  
#!/usr/bin/python3
"""Run all the tests inside the test/ directory as a test suite."""
if __name__ == '__main__':
	import unittest
	from test import *

	tests = []
	for key, val in vars().copy().items():
		if key.startswith('tc_'):
			tests.extend(v for k,v in vars(val).items() if type(v) == type)

	suite = unittest.TestSuite(map(unittest.makeSuite, tests))
	unittest.TextTestRunner(verbosity=2).run(suite)