git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 10/10] t/unit-tests: finalize migration of reftable-related tests

From
Patrick Steinhardt <ps@pks.im>
Date
Jun 5, 2025, 13:24 UTC
Message-ID
<aEGaqZU2FdLqL79L@pks.im>
In-Reply-To
<CAGedMtdaDR1E9YWXQOQKKtKj7rgjmRy6cLMC+A+7B39r=u5Amg@mail.gmail.com>
On Thu, Jun 05, 2025 at 01:56:43PM +0100, Seyi Kuforiji wrote:
Show 27 quoted lines
> On Tue, 3 Jun 2025 at 14:51, Patrick Steinhardt <ps@pks.im> wrote:
> >
> > On Mon, Jun 02, 2025 at 01:25:58PM +0100, Seyi Kuforiji wrote:
> > > diff --git a/Makefile b/Makefile
> > > index 8ed8f234f4..8d8f2d574d 100644
> > > --- a/Makefile
> > > +++ b/Makefile
> > > @@ -1380,13 +1380,11 @@ CLAR_TEST_SUITES += u-urlmatch-normalization
> > >  CLAR_TEST_PROG = $(UNIT_TEST_BIN)/unit-tests$(X)
> > >  CLAR_TEST_OBJS = $(patsubst %,$(UNIT_TEST_DIR)/%.o,$(CLAR_TEST_SUITES))
> > >  CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/clar/clar.o
> > > -CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o
> > >  CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/lib-oid.o
> > > -CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/lib-reftable-clar.o
> > > +CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/lib-reftable.o
> > > +CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o
> > >
> > > -UNIT_TEST_PROGS = $(patsubst %,$(UNIT_TEST_BIN)/%$X,$(UNIT_TEST_PROGRAMS))
> > >  UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/test-lib.o
> >
> > Can't "test-lib.c" also be deleted now?
> >
> > Patrick
> 
> I don't think we can just yet, as `t/helper/test-example-tap` imports
> the `test-lib.h.h` header file. Fixing that would be beyond the scope
> of this patch series, don't you think?

Yup, agreed. It may be useful to point out this detail in the commit message.

Patrick
Previous: Seyi KuforijiNext: Junio C Hamano
Message 22 of 26 in “t/unit-tests: convert unit-tests to use clar”
  1. 00/10 t/unit-tests: convert unit-tests to use clarSeyi Kuforiji, Jun 2, 2025
  2. 01/10 t/unit-tests: implement clar specific reftable test helper functionsSeyi Kuforiji, Jun 2, 2025
  3. Kristoffer HaugsbakkJun 2, 2025
  4. 02/10 t/unit-tests: convert reftable basics test to use clar test frameworkSeyi Kuforiji, Jun 2, 2025
  5. Patrick SteinhardtJun 3, 2025
  6. Seyi KuforijiJun 3, 2025
  7. Patrick SteinhardtJun 3, 2025
  8. 03/10 t/unit-tests: convert reftable block test to use clarSeyi Kuforiji, Jun 2, 2025
  9. Patrick SteinhardtJun 3, 2025
  10. 04/10 t/unit-tests: convert reftable merged test to use clarSeyi Kuforiji, Jun 2, 2025
  11. 05/10 t/unit-tests: convert reftable pq test to use clarSeyi Kuforiji, Jun 2, 2025
  12. 06/10 t/unit-tests: convert reftable table test to use clarSeyi Kuforiji, Jun 2, 2025
  13. Junio C HamanoJun 2, 2025
  14. Seyi KuforijiJun 3, 2025
  15. Junio C HamanoJun 3, 2025
  16. 07/10 t/unit-tests: convert reftable readwrite test to use clarSeyi Kuforiji, Jun 2, 2025
  17. 08/10 t/unit-tests: convert reftable record test to use clarSeyi Kuforiji, Jun 2, 2025
  18. 09/10 t/unit-tests: convert reftable stack test to use clarSeyi Kuforiji, Jun 2, 2025
  19. 10/10 t/unit-tests: finalize migration of reftable-related testsSeyi Kuforiji, Jun 2, 2025
  20. Patrick SteinhardtJun 3, 2025
  21. Seyi KuforijiJun 5, 2025
  22. Patrick SteinhardtJun 5, 2025
  23. Junio C HamanoJun 5, 2025
  24. Junio C HamanoJun 3, 2025
  25. Seyi KuforijiJun 4, 2025
  26. Seyi KuforijiJun 4, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.