Files
git/t/unit-tests/clar/test/expected/summary.xml
Patrick Steinhardt 93dbb6b3c5 t/unit-tests: update to 10e96bc
Update to 10e96bc (Merge pull request #127 from
pks-gitlab/pks-ci-improvements, 2025-09-22). This commit includes a
couple of changes:

  - The GitHub CI has been updated to include a 32 bit CI job.
    Furthermore, the jobs now compile with "-Werror" and more warnings
    enabled.

  - An issue was addressed where `uintptr_t` is not available on
    NonStop [1].

  - The clar selftests have been restructured so that it is now possible
    to add small test suites more readily. This was done to add tests
    for the above addressed issue, where we now use "%p" to print
    pointers in a platform dependent way.

  - An issue was addressed where the test output had a trailing
    whitespace with certain output formats, which caused whitespace
    issues in the test expectation files.

[1]: <01c101dc2842$38903640$a9b0a2c0$@nexbridge.com>

Reported-by: Randall S. Becker <rsbecker@nexbridge.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-09-22 10:09:03 -07:00

42 lines
1.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<testsuites>
<testsuite id="0" name="selftest" hostname="localhost" timestamp="2024-09-06T10:04:08" tests="8" failures="8" errors="0">
<testcase name="1" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[Function call failed: -1
(null)]]></failure>
</testcase>
<testcase name="2" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[Expression is not true: 100 == 101
(null)]]></failure>
</testcase>
<testcase name="strings" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[String mismatch: "mismatched" != actual ("this one fails")
'mismatched' != 'expected' (at byte 0)]]></failure>
</testcase>
<testcase name="strings_with_length" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[String mismatch: "exactly" != actual ("this one fails")
'exa' != 'exp' (at byte 2)]]></failure>
</testcase>
<testcase name="int" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[101 != value ("extra note on failing test")
101 != 100]]></failure>
</testcase>
<testcase name="int_fmt" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[022 != value
0022 != 0144]]></failure>
</testcase>
<testcase name="bool" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[0 != value
0 != 1]]></failure>
</testcase>
<testcase name="multiline_description" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[Function call failed: 1
description line 1
description line 2]]></failure>
</testcase>
<testcase name="null_string" classname="selftest" time="0.00">
<failure type="assert"><![CDATA[String mismatch: "expected" != actual ("this one fails")
'expected' != NULL]]></failure>
</testcase>
</testsuite>
</testsuites>