comipayan / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Default xml output gets wrong if test changes directory #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. change directory in test
2. delete this directory in test
3. run test with default xml output (set gtest_output to 'xml')

What is the expected output? What do you see instead?
Expected is a test_detail.xml file in the current directory (directory the
testprogram is run from), but I get a a message:
Unable to open file "test_detail.xml"

What version of the product are you using? On what operating system?
gtest-1.2.0 on Ubuntu Linux

Original issue reported on code.google.com by housemaister on 9 Dec 2008 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by shiq...@gmail.com on 16 Dec 2008 at 4:17

GoogleCodeExporter commented 9 years ago
We will take a look, but we are busy right now, so it could take a long time.  
Would 
you like to investigate a fix yourself and submit a patch?  Please read the 
GoogleTestDevGuide wiki for details.  Thanks.

Original comment by shiq...@gmail.com on 16 Dec 2008 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 22 Feb 2009 at 5:49