Hi, Clifford,
Your point is right. Maybe the gtest is not necessary. I have submit my second
version of proposal and change relevant content. Some test usecase just like
src/libbu/tests is enough.
http://brlcad.org/w/index.php?title=User:Clouddrift/GSoC2014
Thanks for your helpful review.
B.R.
Zhao Anqing
> Date: Sat, 15 Mar 2014 19:39:19 -0400
> From: cliffy...@gmail.com
> To: brlcad-devel@lists.sourceforge.net
> Subject: Re: [brlcad-devel] GSoC 2014 for Mesh Library Cleanup
>
> On Sat, Mar 15, 2014 at 2:29 PM, 赵安清 <zaqcl...@hotmail.com> wrote:
> >
> > Yes, I mean the googletest. I have some experience about it.
> >
> > But, honestly, I really have no idea about 'integrate running the tests
> > defined there into the CMake build'. Could you please give me some valuable
> > suggestion in details and what's the common method to be used in community
> > when we need a unit test.
>
> BRL-CAD uses the CMake tool for its build system, and part of that
> system is our existing unit tests using the ctest tool. See, for
> example, the tests in src/libbu/tests.
>
> Basically, we would need to make sure the gtest tests get run when we
> run the ctest tests - see, for example:
>
> http://stackoverflow.com/questions/8507723/how-to-start-working-with-gtest-and-cmake
> http://smspillaz.wordpress.com/2012/07/05/unit-test-autodiscovery-with-cmake-and-google-test/
>
> and I'm sure there are others. Shouldn't be too difficult, just
> something we need to keep in mind.
>
> CY
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel