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)
~/lo/core/filter/qa/cppunit/data/tiff/pass/CVE-2005-1544-1.tiff,Pass,4
~/lo/core/filter/qa/cppunit/data/tiff/pass/CVE-2006-2656-1.tiff,Pass,5
~/lo/core/filter/qa/cppunit/data/tiff/pass/CVE-2007-2217-1.tiff,Fail,101
~/lo/core/unotest/source/cpp/filters-test.cxx:125:TiffFilterTest::testCVEs
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
release).
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
---Joost---
Context
- Unittest fails building on OS X 10.9 · Joost Eekhoorn
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.