[RISCV][VLOPT] Remove dead passthru check in getOperandLog2EEW. NFC (#123911)
[llvm-project.git] / llvm / utils / lit / examples / many-tests / ManyTests.py
blob89e818a037c39cacb75024dc0acc3bb86bc3deb2
1 from lit import Test, TestFormat
4 class ManyTests(TestFormat):
5 def __init__(self, N=10000):
6 self.N = N
8 def getTestsInDirectory(self, testSuite, path_in_suite, litConfig, localConfig):
9 for i in range(self.N):
10 test_name = "test-%04d" % (i,)
11 yield Test.Test(testSuite, path_in_suite + (test_name,), localConfig)
13 def execute(self, test, litConfig):
14 # Do a "non-trivial" amount of Python work.
15 sum = 0
16 for i in range(10000):
17 sum += i
18 return Test.PASS, ""