Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-10-05 Thread Adam Bruss
resultproperty stores what the program returned. Typically it would be 0 if all tests passed or a number > 0 if tests failed - the number being how many failed. Eventually you'll probably want the test results in xml form so you can transform it into the CC.net emails. When you get there I can

Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-10-05 Thread Chris Fouts
Thanks! I'm using CxxTest, not CppUnit, but your example will work since I have a *.exe file to run. I'll have to look further what resultproperty and how I can fit it in my environment. -chris From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: 2011-10-05 17:14 To: Chris Fouts; nant-users@list

Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-10-05 Thread Adam Bruss
Yes using an task. For example: Replace analyst.exe with your own executable which is setup with Cppunit to run unittests. Here is a tutorial on setting up Cppunit. I think you should go through this first. http://www.cs.nmsu.edu/~jeffery/courses/371/cppunit/money_example.

Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-10-05 Thread Chris Fouts
Yes, I'm using CruiseControl.NET and Nant in my case. So when you say you have Nant run your executable with a certain flag, you mean in an task block? -chris From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: 2011-09-30 16:54 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] FW: Nant