aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index a5c2dda..35cb10a 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -697,10 +697,10 @@ class SingleTestRunner:
extra_cmd = [] # type: T.List[str]
if self.test.protocol is TestProtocol.GTEST:
- gtestname = '{}.xml'.format(self.test.name)
+ gtestname = self.test.name
if self.test.workdir:
- gtestname = '{}:{}'.format(self.test.workdir, self.test.name)
- extra_cmd.append('--gtest_output=xml:{}'.format(gtestname))
+ gtestname = os.path.join(self.test.workdir, self.test.name)
+ extra_cmd.append('--gtest_output=xml:{}.xml'.format(gtestname))
p = subprocess.Popen(cmd + extra_cmd,
stdout=stdout,