Comments (5)
I'm running the tests on Ubuntu 12.04 with the current release of LLVM and
Clang 3.6.0 from LLVM's official downloads. I'm using Google Test 1.7.0.
Original comment by [email protected]
on 19 Apr 2015 at 11:30
from googletest.
Unfortunately, I seem to get the same result when all tests are in a single
test case. See the attached output. I'm unsure what the cause is.
Original comment by [email protected]
on 19 Apr 2015 at 11:35
Attachments:
from googletest.
It looks like this may have actually been a configuration problem on my end. I
had my source files linking against -fsanitize=address, but I was not passing
the parameter to the build of gtest. When I pass -fsanitize=address to the
gtest build as well, I don't get this AddressSanitizer error. It looks like
it's just necessary for all of the dependencies to be sanitized in order for it
to correctly understand the memory.
I believe this can be closed.
Original comment by [email protected]
on 20 Apr 2015 at 1:13
from googletest.
I'm glad you found the problem.
Just for the record, gtest has been tested with many of the sanitizer
configurations, including Address Sanitizer, Memory Sanitizer and Thread
Sanitizer.
Original comment by [email protected]
on 20 Apr 2015 at 3:04
from googletest.
Original comment by [email protected]
on 20 Apr 2015 at 3:05
- Changed state: Invalid
from googletest.
Related Issues (20)
- Unable to determine if a test should run before calling RUN_ALL_TESTS HOT 2
- My assert is not caught and the test fails HOT 2
- Throwing an exception as default breaks call count expectation HOT 3
- I put my tests in a library and Google Test doesn't run them - GCC 4.8 HOT 3
- Unknown option specified: gtest_output
- error:SEH exception with code 0xc0000005 thrown in auxiliary test code<environment or event listeners>
- Compilation errors on MinGW
- Duplicate Symbols adding Samples (Xcode)
- PATCH: Fix ‘make check’ in separate build directory
- Add the ability to specify parameterized test names
- moving to GITHUB ?
- Plase add a way to skip/disable some tests during runtime.
- README CMake section missing step of putting built libraries into lib subdirectory
- New release
- memory leak when gtest are printing
- Include BUILD for building with bazel
- Consider #define NOMINMAX before including windows.h
- Make gtest usable with -fvisibility=hidden HOT 2
- Linking error in google-test sample using arm platform
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googletest.