<div dir="ltr">Hey,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 3:14 PM, Giuseppe Castagno <span dir="ltr"><<a href="mailto:giuseppe.castagno@acca-esse.eu" target="_blank">giuseppe.castagno@acca-esse.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Building under Kubuntu 14.04 32 bit I got the following, master is f863f70, autogen.lastrun:<br>
<br>
--with-vendor=xxxx<br>
--with-gdrive-client-id=xxxx<br>
--with-gdrive-client-secret=xxxx<br>
--with-external-tar=/srv5/git/LO/externals<br>
--with-lang=en-US<br>
--enable-sal-log<br>
--with-build-version=xxxx<br>
<br>
error shown:<br>
<br>
/home/beppe/lo-github-beppe/basic/qa/cppunit/test_scanner.cxx:582:(anonymous namespace)::ScannerTest::testNumbers<br>
assertion failed<br>
- Expression: rtl::math::round( symbols[1].number, 12) == rtl::math::round( .3, 12)<br>
<br>
test_scanner.cxx:582:Assertion<br>
Test name: (anonymous namespace)::ScannerTest::testNumbers<br>
assertion failed<br>
- Expression: rtl::math::round( symbols[1].number, 12) == rtl::math::round( .3, 12)<br>
<br>
Failures !!!<br>
Run: 10 Failure total: 1 Failures: 1 Errors: 0<br>
<br>
Error: a unit test failed, please do one of:<br>
make CppunitTest_basic_scanner CPPUNITTRACE="gdb --args"<br>
# for interactive debugging on Linux<br>
make CppunitTest_basic_scanner VALGRIND=memcheck<br>
# for memory checking<br>
make CppunitTest_basic_scanner DEBUGCPPUNIT=TRUE<br>
# for exception catching<br>
<br>
<br>
Nothing on 64bit version. Do I miss some build dependency?<span class=""><font color="#888888"><br>
<br>
<br></font></span></blockquote><div><br></div><div>Take the change to line 582 from <a href="https://gerrit.libreoffice.org/#/c/20270/1/basic/qa/cppunit/test_scanner.cxx">https://gerrit.libreoffice.org/#/c/20270/1/basic/qa/cppunit/test_scanner.cxx</a> and rerun the test. That will give you a better error message. Ideally we would convert all uses of CPPUNIT_ASSERT in that test to use CPPUNIT_ASSERT_EQUAL.<br><br></div><div>Regards,<br></div><div>Markus <br></div></div><br></div></div>