Skip to content

t/unit-tests: convert unit-tests to use clar

Seyi Kuforiji git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5t/unit-tests: implement oid helper functions in unit-tests.{c,h}t/unit-tests/unit-test.c t/unit-tests/unit-test.h+61 -04 replies
2/5t/unit-tests: convert oid-array test to use clarMakefile t/meson.build t/unit-tests/u-oid-array.c+65 -623 replies
3/5t/unit-tests: convert oidmap test to use clarMakefile t/meson.build t/unit-tests/u-oidmap.c+54 -1032 replies
4/5t/unit-tests: convert oidtree test to use clarMakefile t/meson.build t/unit-tests/u-oidtree.c+32 -501 reply
5/5t/unit-tests: remove lib-oid.{c,h,o}Makefile t/meson.build t/unit-tests/lib-oid.c +1 more+0 -790 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchPatrick SteinhardtPhilip Wood
SeriesMentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by
1/5Mentored-by
2/5Mentored-by
3/5Mentored-by
4/5Mentored-by
5/5Mentored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] t/unit-tests: convert unit-tests to use clar

Hello,

This small patch series transitions a couple more of our 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

Seyi Kuforiji (5):
t/unit-tests: implement oid helper functions in unit-tests.{c,h} t/unit-tests: convert oid-array test to use clar test framework t/unit-tests: convert oidmap test to use clar test framework t/unit-tests: convert oidtree test to use clar test framework t/unit-tests: remove lib-oid.{c,h,o}

 Makefile                                      |   7 +-
 t/meson.build                                 |   7 +-
 t/unit-tests/lib-oid.c                        |  52 ------
 t/unit-tests/lib-oid.h                        |  25 ---
 t/unit-tests/{t-oid-array.c => u-oid-array.c} | 123 +++++++-------
 t/unit-tests/{t-oidmap.c => u-oidmap.c}       | 153 ++++++------------
 t/unit-tests/{t-oidtree.c => u-oidtree.c}     |  78 ++++-----
 t/unit-tests/unit-test.c                      |  42 +++++
 t/unit-tests/unit-test.h                      |  19 +++
 9 files changed, 212 insertions(+), 294 deletions(-)
 delete mode 100644 t/unit-tests/lib-oid.c
 delete mode 100644 t/unit-tests/lib-oid.h
 rename t/unit-tests/{t-oid-array.c => u-oid-array.c} (35%)
 rename t/unit-tests/{t-oidmap.c => u-oidmap.c} (32%)
 rename t/unit-tests/{t-oidtree.c => u-oidtree.c} (44%)
Signature · 1 line
2.47.0.86.g15030f9556