From: Seyi Kuforiji <kuforiji98@gmail•com>
To: git@vger•kernel.org
Cc: ps@pks•im, phillip.wood@dunelm•org.uk,
Seyi Kuforiji <kuforiji98@gmail•com>
Subject: [PATCH 0/4] t/unit-tests: convert unit-tests to use clar
Date: Thu, 30 Jan 2025 10:13:30 +0100 [thread overview]
Message-ID: <20250130091334.39922-1-kuforiji98@gmail.com> (raw)
Hello,
This small patch series transitions the existing unit test files to the
Clar testing framework. This change is part of our ongoing effort to
standardize our testing framework to enhance maintainability.
Thanks
Seyi
Mentored-by: Patrick Steinhardt ps@pks•im
Signed-off-by: Seyi Kuforiji kuforiji98@gmail•com
Seyi Kuforiji (4):
t/unit-tests: convert hashmap test to use clar test framework
t/unit-tests: adapt example decorate test to use clar test framework
t/unit-tests: convert strbuf test to use clar test framework
t/unit-tests: convert strcmp-offset test to use clar test framework
Makefile | 8 +-
t/meson.build | 8 +-
t/unit-tests/t-example-decorate.c | 74 -------
t/unit-tests/t-strbuf.c | 122 ------------
t/unit-tests/t-strcmp-offset.c | 35 ----
t/unit-tests/u-example-decorate.c | 76 ++++++++
t/unit-tests/{t-hashmap.c => u-hashmap.c} | 226 +++++++++++-----------
t/unit-tests/u-strbuf.c | 121 ++++++++++++
t/unit-tests/u-strcmp-offset.c | 45 +++++
9 files changed, 362 insertions(+), 353 deletions(-)
delete mode 100644 t/unit-tests/t-example-decorate.c
delete mode 100644 t/unit-tests/t-strbuf.c
delete mode 100644 t/unit-tests/t-strcmp-offset.c
create mode 100644 t/unit-tests/u-example-decorate.c
rename t/unit-tests/{t-hashmap.c => u-hashmap.c} (60%)
create mode 100644 t/unit-tests/u-strbuf.c
create mode 100644 t/unit-tests/u-strcmp-offset.c
--
2.47.0.86.g15030f9556
next reply other threads:[~2025-01-30 9:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-30 9:13 Seyi Kuforiji [this message]
2025-01-30 9:13 ` [PATCH 1/4] t/unit-tests: convert hashmap test to clar framework Seyi Kuforiji
2025-01-31 11:43 ` Patrick Steinhardt
2025-01-30 9:13 ` [PATCH 2/4] t/unit-tests: adapt example decorate " Seyi Kuforiji
2025-01-31 11:43 ` Patrick Steinhardt
2025-01-30 9:13 ` [PATCH 3/4] t/unit-tests: convert strbuf " Seyi Kuforiji
2025-01-31 11:43 ` Patrick Steinhardt
2025-01-30 9:13 ` [PATCH 4/4] t/unit-tests: convert strcmp-offset " Seyi Kuforiji
2025-01-31 11:44 ` Patrick Steinhardt
2025-01-31 11:43 ` [PATCH 0/4] t/unit-tests: convert unit-tests to use clar Patrick Steinhardt
2025-01-31 22:14 ` [PATCH v2 " Seyi Kuforiji
2025-01-31 22:14 ` [PATCH v2 1/4] t/unit-tests: convert hashmap test to use clar test framework Seyi Kuforiji
2025-01-31 23:03 ` Junio C Hamano
2025-02-02 11:09 ` phillip.wood123
2025-02-03 7:30 ` Patrick Steinhardt
2025-02-03 14:56 ` phillip.wood123
2025-01-31 22:14 ` [PATCH v2 2/4] t/unit-tests: adapt example decorate " Seyi Kuforiji
2025-01-31 22:14 ` [PATCH v2 3/4] t/unit-tests: convert strbuf " Seyi Kuforiji
2025-02-02 14:38 ` Phillip Wood
2025-01-31 22:14 ` [PATCH v2 4/4] t/unit-tests: convert strcmp-offset " Seyi Kuforiji
2025-01-31 23:06 ` [PATCH v2 0/4] t/unit-tests: convert unit-tests to use clar Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2025-01-16 10:49 [PATCH " Seyi Kuforiji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250130091334.39922-1-kuforiji98@gmail.com \
--to=kuforiji98@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=phillip.wood@dunelm$(echo .)org.uk \
--cc=ps@pks$(echo .)im \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox