[LLVMdev] Any objections to my importing GoogleMock to go with GoogleTest in LLVM?

David Chisnall David.Chisnall at cl.cam.ac.uk
Wed Nov 13 01:54:05 PST 2013


On 13 Nov 2013, at 06:21, Chandler Carruth <chandlerc at google.com> wrote:

> Keep in mind that I am a maintainer for gmock so this would not change the external project decencies of LLVM.

Is gmock written with more portability in mind than gtest?  In my experience, bringing up a new platform for gtest is a huge amount of pain (unless the code has been improved recently - I last tried it about 18 months ago), because the code has very poor abstractions and an incomprehensible nest of #ifdefs for any platform-specific code, mostly testing the wrong thing.  Being unable to get the test suite to run was the blocker for even starting to port some of the sanitizers that used gtest last time I tried.  

David





More information about the llvm-dev mailing list