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

ab/lib-subtest

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 1, 2021, 15:05 UTC
Message-ID
<875yugrdfw.fsf@evledraar.gmail.com>
In-Reply-To
<xmqqh7e18soj.fsf@gitster.g>
On Thu, Sep 30 2021, Junio C Hamano wrote:
Show 14 quoted lines
> * ab/lib-subtest (2021-09-22) 9 commits
>  - test-lib tests: get rid of copy/pasted mock test code
>  - test-lib tests: assert 1 exit code, not non-zero
>  - test-lib tests: refactor common part of check_sub_test_lib_test*()
>  - test-lib tests: avoid subshell for "test_cmp" for readability
>  - test-lib tests: don't provide a description for the sub-tests
>  - test-lib tests: split up "write and run" into two functions
>  - test-lib tests: move "run_sub_test" to a new lib-subtest.sh
>  - Merge branch 'ps/t0000-output-directory-fix' into ab/lib-subtest
>  - Merge branch 'jk/t0000-subtests-fix' into ab/lib-subtest
>
>  Updates to the tests in t0000 to test the test framework.
>
>  Will merge to 'next'?

I think it's ready, Carlo (CC'd) gave it a look and I re-rolled addressing his feedback: https://lore.kernel.org/git/cover-v4-0.7-00000000000-20210922T111734Z-avarab@gmail.com/

It's something I have some test-lib.sh UX improvements/simplification waiting on, so having it go forward would be great :) Thanks!

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 14 of 15 in “What's cooking in git.git (Sep 2021, #09; Thu, 30)”
  1. Junio C HamanoOct 1, 2021
  2. en/removing-untracked-fixes [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]Elijah Newren, Oct 1, 2021
  3. Ævar Arnfjörð BjarmasonOct 1, 2021
  4. Junio C HamanoOct 1, 2021
  5. en/remerge-diff [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]Elijah Newren, Oct 1, 2021
  6. Jeff KingOct 1, 2021
  7. Ævar Arnfjörð BjarmasonOct 1, 2021
  8. ab/fsck-unexpected-typeÆvar Arnfjörð Bjarmason, Oct 1, 2021
  9. ab/parse-options-cleanupÆvar Arnfjörð Bjarmason, Oct 1, 2021
  10. ab/sanitize-leak-ci & more leak fixes soon-or-notÆvar Arnfjörð Bjarmason, Oct 1, 2021
  11. Jeff HostetlerOct 1, 2021
  12. ab/refs-errno-cleanupÆvar Arnfjörð Bjarmason, Oct 1, 2021
  13. ab/align-parse-options-help & ab/help-config-varsÆvar Arnfjörð Bjarmason, Oct 1, 2021
  14. ab/lib-subtestÆvar Arnfjörð Bjarmason, Oct 1, 2021
  15. ab/config-based-hooks-1Ævar Arnfjörð Bjarmason, Oct 1, 2021

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.