John W. Duprey - 2003-09-18

After building CPPUNIT 2.9.11 snapshot on Solaris compiler 5.3 I ran the "simple" unit test in the examples directory and got the following output:

ExampleTestCase::example : assertion
ExampleTestCase::anotherExample : assertion
ExampleTestCase::testAdd : assertion
ExampleTestCase::testDivideByZeroArithmetic Exception (core dumped)

Should it dump a core file or should it return the number of failed/succeeded tests and exit gracefully?

CPPUnit was built with the following config options:
./configure CC=cc CXX=CC CXXFLAGS="-pta -instances=static -mt -xtarget=generic -g -features=no%transitions -xildoff" LD=CC LDFLAGS=-xildoff --prefix=/apps/nlp/pkgs/cppunit

FYI
> which cc
/pkgs/sparcworks/bin/cc
> which CC
/pkgs/sparcworks/bin/CC
> CC -V
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-16 2003/07/05