Re: [Cppunit-devel] crash in msvc 6 debug config
Brought to you by:
blep
|
From: Baptiste L. <gai...@fr...> - 2005-09-09 08:07:02
|
Dadey, Rupert wrote:
> the following code seems to work in release config but in debug
> config it crashes at indicated line
>
> int main( int argc, char **argv)
> {
> CppUnit::TextUi::TestRunner runner;
> CppUnit::TestFactoryRegistry ®istry =
> CppUnit::TestFactoryRegistry::getRegistry();
> runner.addTest( registry.makeTest() ); // CRASH CALLING THIS LINE
> IN DEBUG MODE
> bool wasSuccessful = runner.run( "", false );
> return wasSuccessful;
> }
Does the cppunitTestMain examples works for you ? It does something similar
and works fine on my side. Notes that you need at least VC6 service pack 5.
Baptiste.
>
> rupert
---
Baptiste Lepilleur <bl...@us...>
CppUnit maintainer
OpenTest and CppUnit 2 developer.
|