]> git.ipfire.org Git - thirdparty/git.git/commit
t/unit-tests: update to 10e96bc
authorPatrick Steinhardt <ps@pks.im>
Mon, 22 Sep 2025 13:16:11 +0000 (15:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Sep 2025 17:09:03 +0000 (10:09 -0700)
commit93dbb6b3c572fc8877b56233730b5d12b327a7a4
tree2bd31e32cd7ee15ddf6b170615bc711e3ad94db3
parente7f04f651ac4550db3572720027503617d62ffeb
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>
24 files changed:
t/unit-tests/clar/.github/workflows/ci.yml
t/unit-tests/clar/clar.c
t/unit-tests/clar/clar/print.h
t/unit-tests/clar/generate.py
t/unit-tests/clar/test/CMakeLists.txt
t/unit-tests/clar/test/expected/help
t/unit-tests/clar/test/expected/quiet
t/unit-tests/clar/test/expected/specific_test
t/unit-tests/clar/test/expected/stop_on_failure
t/unit-tests/clar/test/expected/suite_names
t/unit-tests/clar/test/expected/summary.xml
t/unit-tests/clar/test/expected/summary_with_filename
t/unit-tests/clar/test/expected/summary_without_filename
t/unit-tests/clar/test/expected/tap
t/unit-tests/clar/test/expected/without_arguments
t/unit-tests/clar/test/main.c
t/unit-tests/clar/test/selftest.c
t/unit-tests/clar/test/selftest.h
t/unit-tests/clar/test/selftest_suite/CMakeLists.txt [deleted file]
t/unit-tests/clar/test/suites/CMakeLists.txt [new file with mode: 0644]
t/unit-tests/clar/test/suites/combined.c [moved from t/unit-tests/clar/test/selftest_suite/selftest_suite.c with 72% similarity]
t/unit-tests/clar/test/suites/main.c [moved from t/unit-tests/clar/test/selftest_suite/main.c with 100% similarity]
t/unit-tests/clar/test/suites/pointer.c [new file with mode: 0644]
t/unit-tests/clar/test/suites/resources/test/file [moved from t/unit-tests/clar/test/selftest_suite/resources/test/file with 100% similarity]