test_path = os.path.dirname(os.path.dirname(__file__))
inputs = [os.path.join(test_path, 'Inputs/testrunner-custom-parsers/')]
assert os.path.isdir(inputs[0])
- run = lit.run.Run(lit_config,
- lit.discovery.find_tests_for_inputs(lit_config, inputs))
- assert len(run.tests) == 1 and "there should only be one test"
- TestIntegratedTestKeywordParser.inputTestCase = run.tests[0]
+ tests = lit.discovery.find_tests_for_inputs(lit_config, inputs)
+ assert len(tests) == 1 and "there should only be one test"
+ TestIntegratedTestKeywordParser.inputTestCase = tests[0]
@staticmethod
def make_parsers():