Unittest fails building on OS X 10.9

Joost Eekhoorn joost.eekhoorn at gmail.com
Thu Oct 9 02:23:18 PDT 2014

What must I do, when a unit test fails?

Why does that stops my build?

This is the error message:

[build CUT] hwpfilter_test_hwpfilter

File tested,Test Result,Execution tools::Time (ms)





assertion failed

- Expression: bRes == (nExpected == test::pass)

- ~/lo/core/filter/qa/cppunit/data/tiff/pass/CVE-2007-2217-1.tiff

~/lo/core/unotest/source/cpp/filters-test.cxx:125: Assertion

Test name: TiffFilterTest::testCVEs

assertion failed

- Expression: bRes == (nExpected == test::pass)

- ~/lo/core/filter/qa/cppunit/data/tiff/pass/CVE-2007-2217-1.tiff

Failures !!!

Run: 1   Failure total: 1   Failures: 1   Errors: 0

2014-10-08 23:47:16.052 cppunittester[59255:507] *** -[NSAutoreleasePool
release]: This pool has already been released, do not drain it (double

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching

export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux

export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for
interactive debugging in Visual Studio

export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_filter_tiff_test

make[1]: *** [~/lo/core/workdir/CppunitTest/filter_tiff_test.test] Error 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141009/5b9350a9/attachment.html>

More information about the LibreOffice mailing list