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

Re: [PATCH v5 00/10] t/unit-tests: convert unit-tests to use clar

From
Patrick Steinhardt <ps@pks.im>
Date
Jul 24, 2025, 14:41 UTC
Message-ID
<aIJGNGxhkz9CESFu@pks.im>
In-Reply-To
<20250724142837.67149-1-kuforiji98@gmail.com>
On Thu, Jul 24, 2025 at 03:28:27PM +0100, Seyi Kufoiji wrote:
Show 6 quoted lines
> Range-diff against v4:
>  -:  ---------- >  1:  4a04557ae3 t/unit-tests: implement clar specific reftable test helper functions
>  -:  ---------- >  2:  2c576ddd11 t/unit-tests: convert reftable basics test to use clar test framework
>  -:  ---------- >  3:  04d54fef89 t/unit-tests: convert reftable block test to use clar
>  -:  ---------- >  4:  06eba27f8e t/unit-tests: convert reftable merged test to use clar
>  -:  ---------- >  5:  eaa8b8d636 t/unit-tests: convert reftable pq test to use clar

Something here went wrong. :) But the remainder of the range-diff looks exactly like I'd expect it to:

  - The Meson change gets moved to the correct commit.
  - The missing newline got fixed up.
Thanks!
Patrick
Show 63 quoted lines
>  1:  7c159bd2fe !  6:  cf8b0471fd t/unit-tests: convert reftable table test to use clar
>     @@ Makefile: CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/lib-reftable-clar.o
>       UNIT_TEST_PROGS = $(patsubst %,$(UNIT_TEST_BIN)/%$X,$(UNIT_TEST_PROGRAMS))
>       UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/test-lib.o
>       UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/lib-reftable.o
>     -@@ Makefile: $(LIBGIT_HIDDEN_EXPORT): $(LIBGIT_PARTIAL_EXPORT)
>     - 	$(OBJCOPY) --localize-hidden $^ $@
>     - 
>     - contrib/libgit-sys/libgitpub.a: $(LIBGIT_HIDDEN_EXPORT)
>     --	$(AR) $(ARFLAGS) $@ $^
>     -+	$(AR) $(ARFLAGS) $@ $^
>     - \ No newline at end of file
>      
>       ## t/meson.build ##
>      @@ t/meson.build: clar_test_suites = [
>  2:  3ae3b2cf9c =  7:  cbe70c5c23 t/unit-tests: convert reftable readwrite test to use clar
>  3:  d4303eb913 !  8:  38e2198eac t/unit-tests: convert reftable record test to use clar
>     @@ Makefile: CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o
>       UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/test-lib.o
>      
>       ## t/meson.build ##
>     +@@ t/meson.build: clar_test_suites = [
>     +   'unit-tests/u-reftable-merged.c',
>     +   'unit-tests/u-reftable-pq.c',
>     +   'unit-tests/u-reftable-readwrite.c',
>     ++  'unit-tests/u-reftable-record.c',
>     +   'unit-tests/u-reftable-table.c',
>     +   'unit-tests/u-reftable-tree.c',
>     +   'unit-tests/u-strbuf.c',
>      @@ t/meson.build: clar_unit_tests = executable('unit-tests',
>       test('unit-tests', clar_unit_tests)
>       
>  4:  df582f6e2c !  9:  8de9dbbd3b t/unit-tests: convert reftable stack test to use clar
>     @@ Makefile: CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o
>      
>       ## t/meson.build ##
>      @@ t/meson.build: clar_test_suites = [
>     -   'unit-tests/u-reftable-merged.c',
>         'unit-tests/u-reftable-pq.c',
>         'unit-tests/u-reftable-readwrite.c',
>     -+  'unit-tests/u-reftable-record.c',
>     +   'unit-tests/u-reftable-record.c',
>      +  'unit-tests/u-reftable-stack.c',
>         'unit-tests/u-reftable-table.c',
>         'unit-tests/u-reftable-tree.c',
>  5:  9340e7ce88 ! 10:  a69c3370ee t/unit-tests: finalize migration of reftable-related tests
>     @@ Makefile: CLAR_TEST_SUITES += u-urlmatch-normalization
>       
>       # xdiff and reftable libs may in turn depend on what is in libgit.a
>       GITLIBS = common-main.o $(LIB_FILE) $(XDIFF_LIB) $(REFTABLE_LIB) $(LIB_FILE)
>     -@@ Makefile: $(LIBGIT_HIDDEN_EXPORT): $(LIBGIT_PARTIAL_EXPORT)
>     - 	$(OBJCOPY) --localize-hidden $^ $@
>     - 
>     - contrib/libgit-sys/libgitpub.a: $(LIBGIT_HIDDEN_EXPORT)
>     --	$(AR) $(ARFLAGS) $@ $^
>     - \ No newline at end of file
>     -+	$(AR) $(ARFLAGS) $@ $^
>      
>       ## t/Makefile ##
>      @@ t/Makefile: check-meson:
> -- 
> 2.43.0
> 
Previous: Seyi KufoijiNext: Junio C Hamano
Message 32 of 33 in “t/unit-tests: convert unit-tests to use clar”
  1. 00/10 t/unit-tests: convert unit-tests to use clarSeyi Kuforiji, Jun 5, 2025
  2. 01/10 t/unit-tests: implement clar specific reftable test helper functionsSeyi Kuforiji, Jun 5, 2025
  3. 02/10 t/unit-tests: convert reftable basics test to use clar test frameworkSeyi Kuforiji, Jun 5, 2025
  4. 03/10 t/unit-tests: convert reftable block test to use clarSeyi Kuforiji, Jun 5, 2025
  5. 04/10 t/unit-tests: convert reftable merged test to use clarSeyi Kuforiji, Jun 5, 2025
  6. 05/10 t/unit-tests: convert reftable pq test to use clarSeyi Kuforiji, Jun 5, 2025
  7. 06/10 t/unit-tests: convert reftable table test to use clarSeyi Kuforiji, Jun 5, 2025
  8. Junio C HamanoJun 5, 2025
  9. 07/10 t/unit-tests: convert reftable readwrite test to use clarSeyi Kuforiji, Jun 5, 2025
  10. 08/10 t/unit-tests: convert reftable record test to use clarSeyi Kuforiji, Jun 5, 2025
  11. 09/10 t/unit-tests: convert reftable stack test to use clarSeyi Kuforiji, Jun 5, 2025
  12. Patrick SteinhardtJul 24, 2025
  13. 10/10 t/unit-tests: finalize migration of reftable-related testsSeyi Kuforiji, Jun 5, 2025
  14. Junio C HamanoJul 23, 2025
  15. Patrick SteinhardtJul 24, 2025
  16. 0/5 t/unit-tests: convert unit-tests to use clarSeyi Kufoiji, Jul 24, 2025
  17. 1/5 t/unit-tests: convert reftable table test to use clarSeyi Kufoiji, Jul 24, 2025
  18. 2/5 t/unit-tests: convert reftable readwrite test to use clarSeyi Kufoiji, Jul 24, 2025
  19. 3/5 t/unit-tests: convert reftable record test to use clarSeyi Kufoiji, Jul 24, 2025
  20. 4/5 t/unit-tests: convert reftable stack test to use clarSeyi Kufoiji, Jul 24, 2025
  21. 00/10 t/unit-tests: convert unit-tests to use clarSeyi Kufoiji, Jul 24, 2025
  22. 01/10 t/unit-tests: implement clar specific reftable test helper functionsSeyi Kufoiji, Jul 24, 2025
  23. 02/10 t/unit-tests: convert reftable basics test to use clar test frameworkSeyi Kufoiji, Jul 24, 2025
  24. 03/10 t/unit-tests: convert reftable block test to use clarSeyi Kufoiji, Jul 24, 2025
  25. 04/10 t/unit-tests: convert reftable merged test to use clarSeyi Kufoiji, Jul 24, 2025
  26. 05/10 t/unit-tests: convert reftable pq test to use clarSeyi Kufoiji, Jul 24, 2025
  27. 06/10 t/unit-tests: convert reftable table test to use clarSeyi Kufoiji, Jul 24, 2025
  28. 07/10 t/unit-tests: convert reftable readwrite test to use clarSeyi Kufoiji, Jul 24, 2025
  29. 08/10 t/unit-tests: convert reftable record test to use clarSeyi Kufoiji, Jul 24, 2025
  30. 09/10 t/unit-tests: convert reftable stack test to use clarSeyi Kufoiji, Jul 24, 2025
  31. 10/10 t/unit-tests: finalize migration of reftable-related testsSeyi Kufoiji, Jul 24, 2025
  32. Patrick SteinhardtJul 24, 2025
  33. Junio C HamanoJul 24, 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.