summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
diff options
context:
space:
mode:
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