Re: [Cppunit-devel] CppUnit & VxWorks
Brought to you by:
blep
From: David R. <dre...@gm...> - 2005-03-26 03:09:53
|
On Thu, 24 Mar 2005 13:40:39 -0800, Gleicher, Ben <ben...@bo...> wrote: > Hi, > > I'm a newbie to CppUnit. Do you know if anyone has used CppUnit to do unit test on VxWorks? Where can I get information about that? > > Thanks. > > Ben Gleicher Hi, I've been using it for unit testing on VxWorks for quite a few months now. With Tornado 2.2's gcc the latest version of cppunit builds without any problems. I link my unit tests + code under test with a cppunit archive build to create a .out. For each test cycle I just do the following 1. load the .out on the target 2. run the tests 3. unload the .out I help automate the process I use a python script that gets run from a post-build rule which uploads the .out to the target via ftp and then does steps 1-3 via telnet, so I get the results of the tests on the pc doing the build. Hope that helps. - David |