Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Pranav,

please check the thread "Unit test failure on building LibreOffice on
Windows" from yesterday. I really guess it contains the same problem:
wrong Visual Studio version plus wrong compiling flags.

Regards,

Dennis Roczek

Am 17.02.2016 um 13:28 schrieb Pranav Ganorkar:
Hi, When I try the 'bt' command as suggested by Micheal, the following
 is
the output:


 make CppunitTest_svgio CPPUNITTRACE="gdb --args"

*******************************************************************
make -j 4 -rs -f /mnt/D-Drive/LibreOffice/libreoffice/Makefile.gbuild
CppunitTest_svgio
[CUT] svgio
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp
l.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copy
ing"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/Executable/cpp
unittester...(no
debugging symbols found)...done.
(gdb) bt
No stack.
**********************************************************************
*

On Wed, Feb 17, 2016 at 5:09 PM, Pranav Ganorkar <pranavg189@gmail.com

wrote:

Hi Thorsten , When I build on Windows 64-bit using Cygwin, I get the
following error:

*********************************************************************
****
[build CUT] sc_subsequent_export_test
[build CUT] sc_bugfix_test
[build CUT] sc_html_export_test

C:/sources/libreoffice/test/source/xmltesttools.cxx:70:SdExportTest::
testBnc822341
equality assertion failed
- Expected: 1
- Actual  : 0
- In <file:///D:/LibreOffice/.babun/cygwin/tmp/lu4928fl5t.tmp>, XPath
'/ContentType:Types/ContentType:Override[@ContentType='application/vn
d.openxmlformats-officedocument.wordprocessingml.document']'
number of nodes is incorrect

C:/sources/libreoffice/test/source/xmltesttools.cxx(70) : error : Ass
ertion
Test name: SdExportTest::testBnc822341
equality assertion failed
- Expected: 1
- Actual  : 0
- In <file:///D:/LibreOffice/.babun/cygwin/tmp/lu4928fl5t.tmp>, XPath
'/ContentType:Types/ContentType:Override[@ContentType='application/vn
d.openxmlformats-officedocument.wordprocessingml.document']'
number of nodes is incorrect

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

Error: a unit test failed, please do one of:
make CppunitTest_sd_export_tests CPPUNITTRACE=TRUE # which is a short
cut
for the following line
make CppunitTest_sd_export_tests
CPPUNITTRACE="'C:/PROGRA~2/MICROS~1.0/VC//../Common7/IDE/devenv.exe'
/debugexe" # for interactive debugging in Visual Studio
make CppunitTest_sd_export_tests CPPUNITTRACE="drmemory -free_max_fra
mes
20" # for memory checking (install Dr.Memory first, and put it to you
r PATH)

C:/sources/libreoffice/solenv/gbuild/CppunitTest.mk:90: recipe for ta
rget
'C:/sources/libreoffice/workdir/CppunitTest/sd_export_tests.test' fai
led
make[1]: ***
[C:/sources/libreoffice/workdir/CppunitTest/sd_export_tests.test] Err
or 1
make[1]: *** Waiting for unfinished jobs....
Makefile:249: recipe for target 'build' failed
make: *** [build] Error 2

*********************************************************************
******************

Here also it seems that the unit tests are failing...is there some wa
y i
can disable these tests as I can see that the other modules are build
ing
very much fine on both linux and windows...

Regards,
Pranav

On Wed, Feb 17, 2016 at 4:41 PM, Pranav Ganorkar <pranavg189@gmail.co
m>
wrote:

Hi Thorsten,

I currently have the source code on NTFS drive of windows as you hav
e
already pointed out. I built with the default switches and the lates
t
changes merged from upstream. I think I should try building it on my
 linux
home partition.

Regards,
Pranav

On Wed, Feb 17, 2016 at 2:07 AM, Thorsten Behrens <
thb@documentfoundation.org> wrote:

Hi Pranav,

you write:
No core file identified in directory

/mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test
.core
To show backtraces for crashes during test execution,
enable core files with:

   ulimit -c unlimited

[CUT] vcl_timer

Error: a unit test failed, please do one of:
make CppunitTest_svgio CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_svgio VALGRIND=memcheck
    # for memory checking
make CppunitTest_svgio DEBUGCPPUNIT=TRUE
    # for exception catching

Did you try one of the above suggestions? There are usually three
reasons a unit test would fail:

* something is truly broken on master (compare with red tinderboxes
 on
  http://tinderbox.libreoffice.org/MASTER/status.html)
* you have a buggy setup (noticing D-Drive in your path above,
  building on a vfat partition from linux is generally not working)
* you are building on a system, or a particular configure switch
  combination, that is not yet supported & will need manual fixing

Your question does not provide enough context to guess which of the
cases you're hitting.

HTH,

-- Thorsten







_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWxI+2AAoJEM4+Qf3OKrbZxUcP/1F3zz3hD9P2tpP8h6VCslSX
OEKHJlQaJZfRdHP3kWIaDchoVDpXfpQPpIuWgdGoaXQgDKS7KCdYL+qwomt3U1xr
tMaP2y7llroeGBu6pDJyGYRsWZPu6yCvnNmYDS6TJam75NlzIOmpudyN7K0J4m3H
N3U81849XmHjMcq5TSqhrIOsw/8XxZVYcmuC3vDqznn/HJYvrcjahRr2vtLfUd5k
Apjg7r+iCdQyDOJAKH/vNCkObRmTeFvcSvZ42Q4sQxQtC+/8qfeDzw+R3jHu65xT
cI+iU0AfeOQbqo0m+zZHbVehqG96oW+/6cQ1u2SGm563m9iYUyZ0Ib7D6y+e/SKj
IrigVMJDEQBz3sb7KL2P4sOM7mVqejP8qX/9/WXI7qYLNA14yxYFNPX2uvezQdz8
L3pg27TprIKGa1F2fYcnfRjBYumLEF7TF3CA1cMRe1tB+EMB0Pce/Bw8jeUEUBBD
MTcHV2Vm43ef7Ae068+9XAbJNlFIL+MMR1o/APVPdJ3DIMWQaCYclgVDeHFyMHzN
oYjPkGqFslEbQYg5qExaOQPcdXQvL4vQZweqYWe7wR19KY7kM2E7j2uo0rOpnD75
/ijb7dL128MC/6IM9oJWZDc2nNBW3HbJ8iEvu4fBQs1vLk2DueVOiwpgnp3lTgUC
EjMsK4glWXgLu7SRjOzc
=J+Vn
-----END PGP SIGNATURE-----

Context


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.