eugeneie / googletest

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

testShardStatusFileIsCreatedWithListTests test fails on Mac OS X #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and extract gtest 1.3.0 source
2. Make sub-directory called build inside the extracted folder
3. Switch to the build directory and run ../configure, make, make check

Expected output is all tests passing.  Instead one test fails with the
following output:

ERROR: Tests that the shard file is created with --gtest_list_tests.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
  File "../test/gtest_filter_unittest.py", line 526, in
 testShardStatusFileIsCreatedWithListTests
    test_tmpdir = tempfile.mkdtemp()
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
 python2.5/tempfile.py", line 328, in mkdtemp
    _os.mkdir(file, 0700)
 OSError: [Errno 2] No such file or directory: '/var/folders/mk/
 mkPX7zSMHm8FQB+rne7RXE+++TI/-Tmp-/tmpoaPcJx'

What version of the product are you using? On what operating system?
Version 1.3.0 of Google Test on Mac OS X.  I also use gtest on a Ubuntu
8.10 box, which did not have this problem.

uname -a output:
Darwin Kernel Version 9.6.2: Tue Jan 13 20:42:22 PST 2009;
root:xnu-1228.9.80~1/RELEASE_I386 i386

gcc --version output:
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)

Original issue reported on code.google.com by stephens...@gmail.com on 29 Mar 2009 at 10:16

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 30 Mar 2009 at 11:34

GoogleCodeExporter commented 9 years ago
Thanks for the report.  Unfortunately we don't have the resources to work on 
this.  
Would you like to investigate a fix and share it with us?  Thanks.

Original comment by zhanyong...@gmail.com on 5 Jun 2009 at 6:12

GoogleCodeExporter commented 9 years ago
Closed for lack of user response.  Please re-open it if you are still seeing the
problem in the latest version of gtest (1.4.0).

Original comment by w...@google.com on 10 Dec 2009 at 8:06