summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-05-28 09:40:42 +0000
committerAlexey Samsonov <samsonov@google.com>2013-05-28 09:40:42 +0000
commitb262d264d4ff7e540ee6a63b6f3414812b39b566 (patch)
tree617bac4f35c6f6b596177b1abea39d4a4a366c65 /llvm/utils/lit
parent281dcbe0266e9bfb625ab1532df9cce99e354c4e (diff)
downloadbcm5719-llvm-b262d264d4ff7e540ee6a63b6f3414812b39b566.tar.gz
bcm5719-llvm-b262d264d4ff7e540ee6a63b6f3414812b39b566.zip
Fixup for r182715: provide correct arg to --gtest-filter
llvm-svn: 182758
Diffstat (limited to 'llvm/utils/lit')
-rw-r--r--llvm/utils/lit/lit/TestFormats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit/TestFormats.py b/llvm/utils/lit/lit/TestFormats.py
index a8fa3779350..76b7b0c81f1 100644
--- a/llvm/utils/lit/lit/TestFormats.py
+++ b/llvm/utils/lit/lit/TestFormats.py
@@ -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,
OpenPOWER on IntegriCloud