ddio / gperftools

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

Unit test failure with static lib: maybe_threads_unittest #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure --enable-static
2. make check

What is the expected output? What do you see instead?
Expect all tests to pass.
1 of 41 tests failed
Please report to opensource@google.com

What version of the product are you using? On what operating system?
1.3 and 1.4. 
2.6.24-etchnhalf.1-amd64 #1 SMP Sat Aug 15 20:38:41 UTC 2009 x86_64 GNU/
Linux
export CFLAGS="-m32 -g"
export CXXFLAGS="-m32 -g"
configure --enable-static --enable-frame-pointers --host=i686

Please provide any additional information below.
Cannot run ./maybe_threads_unittest.sh: cannot find libtcmalloc_minimal.so
FAIL: maybe_threads_unittest.sh

This test ought probably to be skipped when dynamic libs are not being 
built.

Original issue reported on code.google.com by pet...@gmail.com on 29 Oct 2009 at 4:42

GoogleCodeExporter commented 9 years ago
Good idea.  I'll add that test in for the next release.

Original comment by csilv...@gmail.com on 3 Nov 2009 at 3:27

GoogleCodeExporter commented 9 years ago
This should be fixed in perftools 1.5, just released.

Original comment by csilv...@gmail.com on 20 Jan 2010 at 11:10