Skip to content

Test problems with perl-5.22 (on the release). #72

@zarniwhoop73

Description

@zarniwhoop73

The stable version is failing tests with perl-5.22 : Failed 4/42 test programs. 2/959 subtests failed.
Also, excessive output from wide character warnings.

  1. A lot of messages (3254 on a quick grep | wc) about UTF-8 characters, which is very odd because you appear to be anticipating these with the no warnings 'utf8'; and the log4perl.appender.Screen.utf8 = 1 lines.
    The first few from t/basic-misc.t start
    Wide character (U+10FFFD) in lc at (eval 145) line 1.
    Wide character (U+10FFFD) in lc at (eval 153) line 1.
    Wide character (U+10FFFD) in lc at (eval 154) line 1.
    Wide character (U+10FFFD) in lc at (eval 161) line 1.
    Wide character (U+10FFFD) in lc at (eval 183) line 1.
    Wide character (U+308) in lc at (eval 324) line 1.
    Wide character (U+308) in lc at (eval 329) line 1.
    Wide character (U+10FFFD) in lc at (eval 329) line 1.
    Wide character (U+131) in lc at (eval 330) line 1.
    These are just annoying, it looks as if the tests still run. I am not familiar enough with perl to suppress these.
  2. A number of warnings, mostly
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\ding{ <-- HERE ([2-9AF][0-9A-F])}/ at /scratch/ken/biblatex-biber-2.1/blib/lib/Biber/LaTeX/Recode.pm line 239.
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A{ <-- HERE \X+}\z/ at /scratch/ken/biblatex-biber-2.1/blib/lib/Biber/Input/file/bibtex.pm line 762.
    but also one each of
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\textsuperscript{ <-- HERE ((?^u:SM|y|i|w|=|+|r|n|8|h|4|5|)|9|6|0|7|j|())}/ at /scratch/ken/biblatex-biber-2.1/blib/lib/Biber/LaTeX/Recode.pm line 233.
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\textsuperscript{ <-- HERE ((?^u:textturnrrtail|textinvscr|textturnr|texthth))}/ at /scratch/ken/biblatex-biber-2.1/blib/lib/Biber/LaTeX/Recode.pm line 236.
    The end result is
    Failed 4/42 test programs. 2/959 subtests failed.
    If I escape the left braces, that becomes
    Failed 2/42 test programs. 0/959 subtests failed.
  3. After that, with ./build test verbose=1 I can see a little more detail (hashes escaped, the github preview thinks they are markup)
    3A bcfvalidation.t

Looks like you planned 44 tests but ran 43.

t/bcfvalidation.t .....
1..44
[1 to 43 are reported, so I assume the 44th test failed]
ok 43 - Validation of tdata/zoterordfxml.bcf
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/44 subtests

3B. t/dm-dateformats.t

Looks like your test exited with 255 before it could output anything.

t/dm-dateformats.t ....
1..33
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 33/33 subtests
I don't have a git tree for this, and since I don't know what I'm doing on most of it I don't think there is much point me setting one up. For the escapes, a diff against the release is at http://www.linuxfromscratch.org/~ken/tmp/biber-escapes-for-perl-5.22.diff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions