Fixup for r182715: provide correct arg to --gtest-filter
authorAlexey Samsonov <samsonov@google.com>
Tue, 28 May 2013 09:40:42 +0000 (09:40 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 28 May 2013 09:40:42 +0000 (09:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182758 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/TestFormats.py

index a8fa37793501d500860c7f6c3ac34ee263cadad9..76b7b0c81f1740391bfc69e35a10f88a4ee1e38e 100644 (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,