Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/formatter.t fails since Test-Harness-3.45_01: t/data/tests/bailout: junk after document element at line 17, column 13, byte 381 #15

Open
ppisar opened this issue Aug 16, 2023 · 1 comment

Comments

@ppisar
Copy link

ppisar commented Aug 16, 2023

After upgrading Test-Harness from 3.44 to 3.46 t/formatter.t fails like this:

$ perl -I /tmp/Test-Harness/lib  -Ilib t/formatter.t
1..22
ok 1 - t/data/tests/bad_chars

not ok 2 - t/data/tests/bailout

#   Failed test 't/data/tests/bailout'
#   at t/formatter.t line 54.
# During compare:
# junk after document element at line 17, column 13, byte 381
# GOT: <testsuites>
#   <testsuite errors="0"
#              failures="0"
#              name="data_tests_bailout"
#              tests="5">
#     <testcase name="1"></testcase>
#     <testcase name="2"></testcase>
#     <testcase name="3"></testcase>
#     <system-out><![CDATA[1..5
# ok 1
# ok 2
# ok 3
# Bail out!  GERONIMMMOOOOOO!!!
# ]]></system-out>
#     <system-err></system-err>
#   </testsuite>
# </testsuites><testsuites>
#   <testsuite errors="0"
#              failures="0"
#              name="data_tests_bailout"
#              tests="5">
#     <testcase name="1"></testcase>
#     <testcase name="2"></testcase>
#     <testcase name="3"></testcase>
#     <system-out></system-out>
#     <system-err></system-err>
#   </testsuite>
# </testsuites>

This is triggered by this Test-Harness commit Perl-Toolchain-Gang/Test-Harness@9555096. It looks like a deliberate change.

@pghmcfc
Copy link

pghmcfc commented Aug 14, 2024

Seems to be fixed via Perl-Toolchain-Gang/Test-Harness#127 in Test-Harness 3.50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants