aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest_xml_outfiles_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest_xml_outfiles_test.py')
-rwxr-xr-xtest/gtest_xml_outfiles_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/gtest_xml_outfiles_test.py b/test/gtest_xml_outfiles_test.py
index 3e91f6de..9d627932 100755
--- a/test/gtest_xml_outfiles_test.py
+++ b/test/gtest_xml_outfiles_test.py
@@ -98,8 +98,7 @@ class GTestXMLOutFilesTest(gtest_xml_test_utils.GTestXMLTestCase):
self._TestOutFile(GTEST_OUTPUT_2_TEST, EXPECTED_XML_2)
def _TestOutFile(self, test_name, expected_xml):
- gtest_prog_path = os.path.join(gtest_test_utils.GetBuildDir(),
- test_name)
+ gtest_prog_path = gtest_test_utils.GetTestExecutablePath(test_name)
command = [gtest_prog_path, "--gtest_output=xml:%s" % self.output_dir_]
p = gtest_test_utils.Subprocess(command, working_dir=tempfile.mkdtemp())
self.assert_(p.exited)