[lxml-dev] Test Failures in lxml 1.3.2

jholg at gmx.de jholg at gmx.de
Thu Jul 12 09:58:11 CEST 2007


Hi,

> It seems like the problem only arises on UCS-2 systems. Could anyone with
> a
> UCS-2 Linux system check if this is also fails there? UCS-2 can be
> detected
> with "sys.maxunicode" being 65535 (I think). UCS-4 systems say 1114111
> here. I

Runs without failures on Solaris with sys.maxunicode==65535:

0 lb54320 at adevp02 .../lxml-1.3 $ python2.4 -c "import sys; print sys.maxunicode"
65535
0 lb54320 at adevp02 .../lxml-1.3 $ make test PYTHON=python2.4
python2.4 setup.py  build_ext -i
Building lxml version 1.3.3-44945
/apps/prod/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'zip_safe'
  warnings.warn(msg)
running build_ext
python2.4 test.py -p -v 

TESTED VERSION:
    Python:            (2, 4, 4, 'final', 0)
    lxml.etree:        (1, 3, 3, 44945)
    libxml used:       (2, 6, 27)
    libxml compiled:   (2, 6, 27)
    libxslt used:      (1, 1, 20)
    libxslt compiled:  (1, 1, 20)

 607/607 (100.0%): Doctest: xpathxslt.txt                                                    
----------------------------------------------------------------------
Ran 607 tests in 1.310s

OK
PYTHONPATH=src python2.4 selftest.py
126 tests ok.
PYTHONPATH=src python2.4 selftest2.py
88 tests ok.
0 lb54320 at adevp02 .../lxml-1.3 $ 

Note that I ran from 1.3 branch, not 1.3.2 release (found not 1.3.2 tag in the repository), so maybe the offending test has been disabled already (?)

Holger
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


More information about the lxml-dev mailing list