Fixup for r182715: provide correct arg to --gtest-filter

llvm-svn: 182758
This commit is contained in:
Alexey Samsonov 2013-05-28 09:40:42 +00:00
parent ad5bd9ce5a
commit 6dea9bd10d

View File

@ -61,7 +61,7 @@ class GoogleTest(object):
(dirname, basename) = os.path.split(execpath)
# Discover the tests in this executable.
for testname in self.getGTestTests(execpath, litConfig, localConfig):
testPath_in_suite = path_in_suite + (basename, testname)
testPath_in_suite = path_in_suite + (testname, )
yield Test.Test(testSuite, testPath_in_suite, localConfig)
def getTestsInDirectory(self, testSuite, path_in_suite,