RE: [Cppunit-devel] Coming release (was: Is this project dead?)
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2001-09-18 10:43:00
|
Quoting "Summerwill, Bob" <BSu...@eu...>: > > I just grabbed the CVS HEAD, and compiled it with MSVC++ 6.0. Here were > the > results .... > > > 1. CppUnitTestApp fails to compile, in TestRunner (see below). [...] That problem is solved by compiling the TestRunner project from the TestRunner.dsw workspace (which cause DSPlugIn.dsp to be compiled and create the missing files). I have recently though about that dependency problem. With the increasing number of projects and examples, it become harder to maintain all the examples. I have come with 3 courses of actions: 1) Remove all dependency in the examples. Clearly state in INSTALL-WIN32.txt that TestRunner.dsp must be build from TestRunner.dsw before building any examples. 2) Same as 1), but keep an example which can compile 'as this' (CppUnitTestApp). 3)Maintains dependencies for all projects. I'll go for (2) unless some good arguments are submited. (3) is a lot of works and it's easy to mess up (like I just did there). (1) would be nice, but I like to be able to grab a new release and just run the sample with all the unit test right away. What do you think ? In any event, I'll fix CppUnitTestApp dependecy this evening (2) ;-) > > 2. CppUnitTestMain compiles, but the unit tests fail when run ... > > > !!!FAILURES!!! > Test Results: > Run: 85 Failures: 1 Errors: 0 > There was 1 failure: > 1) test: ExceptionTest.testAssignment line: 103 > d:\cvsroot\cppunit\examples\cppunittest\exceptiontest.cpp > expected: message > but was: Unknown exception > > > This problem appears to have been introduced when the call to > std::exception::operator=() was added to the > CppUnit::Exception::operator=() > implementation. The test code causes an unhandled exception when > exception::what() is called on the copied object. Hmm, I actually never been able to have that test pass sucessfuly (It was already failing when I wrote that test case). Never been able to figure out what was wrong :-( > > > > 3. HostApp fails to compile (failing in TestRunner again). [...] Same as 1. Thanks a lot Bob, Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Language: English, French |