From: CppUnit development mailing list <cppunit-devel@li...> - 2007-06-19 12:58:09
All the object files are archived using \"ar\"(linux command),and it is used to create a binary.
On executing the binary, suites are not registered at initialization time.ie without calling CPPUNIT_TEST_SUITE_REGISTRATION the program control enters into the main. So my testcases are not executed.
But without archiving the object files,when they are used directly ,the suites are registered and my test cases are executed.
operating system -fedora core 2