5 class ManyTests(object):
6 def __init__(self, N=10000):
9 def getTestsInDirectory(self, testSuite, path_in_suite,
10 litConfig, localConfig):
11 for i in range(self.N):
12 test_name = 'test-%04d' % (i,)
13 yield Test.Test(testSuite, path_in_suite + (test_name,),
16 def execute(self, test, litConfig):
17 # Do a "non-trivial" amount of Python work.
19 for i in range(10000):
23 config.test_format = ManyTests()