def METHOD_NAME(self, testSuite, path_in_suite,
                        litConfig, localConfig):
    source_path = testSuite.getSourcePath(path_in_suite)
    for subdir in self.test_sub_dirs:
        dir_path = os.path.join(source_path, subdir)
        if not os.path.isdir(dir_path):
            continue
        for fn in lit.util.listdir_files(dir_path,
                                         suffixes=self.test_suffixes):
            # Discover the tests in this executable.
            execpath = os.path.join(source_path, subdir, fn)
            testnames = self.getGTestTests(execpath, litConfig, localConfig)
            for testname in testnames:
                testPath = path_in_suite + (subdir, fn, testname)
                yield lit.Test.Test(testSuite, testPath, localConfig,
                                    file_path=execpath)