PythonTest_pyuno_pytests_insertremovecells Unit Test Failing on Windows

Luke Benes lukebenes at hotmail.com
Wed Apr 4 16:19:05 UTC 2018


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



More information about the LibreOffice mailing list