[PATCH 0/2] Update clar for improved integer handling
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Dec 5, 2025, 12:57 UTC
- Message-ID
- <20251205-b4-pks-clar-update-v1-0-fd70aac2ab90@pks.im>
Hi,
this patch series updates clar. Most importantly, the update contains properly typed handling of integers as well as a set of new asserts that perform relative comparisons, like "less than" or "greater or equal".
Thanks!
Patrick
---
Patrick Steinhardt (2):
t/unit-tests: update clar to 39f11fe
t/unit-tests: demonstrate use of integer comparison assertionst/unit-tests/clar/.github/workflows/ci.yml | 2 +- t/unit-tests/clar/clar.c | 146 ++++++++++++++++++++- t/unit-tests/clar/clar.h | 82 +++++++++++- t/unit-tests/clar/clar/print.h | 2 +- t/unit-tests/clar/test/expected/quiet | 40 +++++- .../clar/test/expected/summary_with_filename | 42 +++++- .../clar/test/expected/summary_without_filename | 42 +++++- t/unit-tests/clar/test/expected/tap | 88 +++++++++++-- t/unit-tests/clar/test/expected/without_arguments | 42 +++++- t/unit-tests/clar/test/selftest.c | 10 +- t/unit-tests/clar/test/suites/combined.c | 65 ++++++++- t/unit-tests/u-reftable-record.c | 22 ++-- t/unit-tests/unit-test.h | 6 - 13 files changed, 519 insertions(+), 70 deletions(-)
--- base-commit: f0ef5b6d9bcc258e4cbef93839d1b7465d5212b9 change-id: 20251205-b4-pks-clar-update-4fb022908ced