summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/TestFormats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/TestFormats.py b/utils/lit/lit/TestFormats.py
index a8fa377935..76b7b0c81f 100644
--- a/utils/lit/lit/TestFormats.py
+++ b/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,