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


After 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=d76281864b0e83812c0edf7490b1e8271e89fff5


Create temp copies of test docs in Python/UITests


Windows 'make check' builds are failing with the following error:

[build PYT] pyuno_pytests_insertremovecells
[build JUT] ridljar_typedesc
[build JUT] ridljar_uno
E
======================================================================
ERROR: test_fdo74824_load (insertremovecells.InsertRemoveCells)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\luke\lode\dev\core\pyuno\qa\pytests\insertremovecells.py", line 36, in 
test_fdo74824_load
    doc = desktop.loadComponentFromURL(url, "_blank", 0, load_props)
insertremovecells.com.sun.star.lang.IllegalArgumentException: Unsupported URL 
<file://///C:/cygwin/home/luke/lode/dev/core/workdir/PythonTest/pyuno_pytests_insertremovecells/tmp/fdo74824.ods>:
 "type detection failed"

----------------------------------------------------------------------
Ran 1 test in 0.997s

FAILED (errors=1)

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

make PythonTest_pyuno_pytests_insertremovecells CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make PythonTest_pyuno_pytests_insertremovecells VALGRIND=memcheck
    # for memory checking
make PythonTest_pyuno_pytests_insertremovecells DEBUGCPPUNIT=TRUE
    # for exception catching

You can limit the execution to just one particular test by:

make PYTHON_TEST_NAME="testXYZ" ...above mentioned params...

make[1]:
make[1]:
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2


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.