Please let me know any CppUnit framework which runs fine on QNX. The UnixCppUnit gives error unknown symbol while running on QNX and genarates SIGABRT signal while running on Linux. the problems with the CppUnit-1.12.0 are as follows. Please help me out. Thanks in advance.
Tasks that have been tried out during the course of making CppUnit Work on QNX Neutrino.
- The default example (\cppunit-1.12.0\examples\simple) in CppUnit-1.12.0 failed to run in QNX Terminal and IDE (In both GCC 2.95.3 and 3.3.5 Versions). Compilation is possible.
Result : Runtime Error - ExampleTestCase::exampleAbort(CoreDumped).
On Debugging (Using gdb) : Program received signal SIGABRT,Aborted. Signalkill() From /usr/qnx630/target/qnx6/x86/lib/libc.so.2. after the calling function : runner.run( controller ); in main().
On further debugging commenting of all ASSERT Macros in Example Testcase.cpp removed the core dumping but unit testing could not be done as required (because of commenting ASSERT macros.)
Implimented CPPUNIT-1.12.0 on Linux GCC 2.95.3 and got the same result as in QNX (ExampleTestCase::exampleAbort(Core Dumped) but gave the desired output on GCC 3.3.2.
Installed CYGWIN and implemented CppUnit-1.12.0 on Cygwin. CPPUNIT-1.12.0 gave correct output in Cygwin (gcc version 2.95.3).
Source of CppUnit-1.12.0 :
downloads.sourceforge.net/cppuni … g_mirror=0
If anyone knows any CppUnit which works fine on QNX please help me out.
Thanks & regards,