[llvm] r182758 - Fixup for r182715: provide correct arg to --gtest-filter

Alexey Samsonov samsonov at google.com
Tue May 28 02:40:43 PDT 2013


Author: samsonov
Date: Tue May 28 04:40:42 2013
New Revision: 182758

URL: http://llvm.org/viewvc/llvm-project?rev=182758&view=rev
Log:
Fixup for r182715: provide correct arg to --gtest-filter

Modified:
    llvm/trunk/utils/lit/lit/TestFormats.py

Modified: llvm/trunk/utils/lit/lit/TestFormats.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestFormats.py?rev=182758&r1=182757&r2=182758&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestFormats.py (original)
+++ llvm/trunk/utils/lit/lit/TestFormats.py Tue May 28 04:40:42 2013
@@ -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,





More information about the llvm-commits mailing list