Boost Users :
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-02-10 14:27:02
> I'm trying out Unit Test for the first time & decided to try out the
> first example listed in the getting started docs. It compiled fine on
> my g++ v4.0 boost v1_32 setup, but I get the following output which
> looks wrong to me:
> [root_at_r3-mobile src]# ./test_watchdog
> Running 1 test case...
> /root/projects/IBS/test_watchdog/src/test_watchdog.cpp(38): error in
> "free_test_function": test 2 == 1 failed
> Exception in "free_test_function": signal: memory access violation
> fatal error in "free_test_function": Testing aborted
> *** 1 failure detected (1 failure expected) in test suite "Unit test
> example 1"
> Is there an easily explained (and implemented) way to get the output
> for this test app to work?
What exactly is wrong with above output? Using latest CVS version with
similar example produce slightly different output:
unit_test_example_02.cpp(20): error in "free_test_function": check 2 == 1
unknown location(0): fatal error in "free_test_function": memory access
unit_test_example_02.cpp(25): last checkpoint
*** 2 failures detected (2 failures expected) in test suite "Unit test
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net