[LLVMdev] [Patch] Adding unit tests to LLVM

Gordon Henriksen gordonhenriksen at me.com
Sat Dec 27 18:04:50 PST 2008


On 2008-12-27, at 17:41, Misha Brukman wrote:

> 2008/12/27 Mark Kromis <greybird at mac.com>
> Just a curiosity question, why push for gtest vs Boost Test or a  
> different test suite?
> I normally use Boost, and their test suite, so I'm more familiar  
> with that. So I was wondering is one better then the other, or is it  
> just that someone makes a patch for it?
>
> I looked more into Boost.Test to see what's in it.  Boost.Test  
> doesn't seem to be stand-alone -- I don't see a way to use  
> Boost.Test without importing some other chunks of Boost that the  
> testing library depends on.  While Boost is a fine set of libraries,  
> I don't think we want to increase the LLVM distribution by  
> sizeof(Boost) just to enable unittesting, nor do we want to spend  
> the time on maintaining a subset of Boost that's "just enough" to  
> build and use the unittest library, along a modified configure/build  
> process that Boost wants to use (Boost.Build? Boost.Jam?).

Indeed, Boost.Test requires approximately 500 header files, minimally.

— Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081227/95300bc7/attachment.html>


More information about the llvm-dev mailing list