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

Re: [PATCH] test: simplify counts aggregation

From
EWEric Wong <e@80x24.org>
Date
Mar 8, 2023, 09:26 UTC
Message-ID
<20230308092621.M321240@dcvr>
In-Reply-To
<230308.86bkl3zjp3.gmgdl@evledraar.gmail.com>
> On Wed, Mar 08 2023, Felipe Contreras wrote:
> > +++ b/t/Makefile
> > +	'$(SHELL_PATH_SQ)' ./aggregate-results.sh '$(TEST_RESULTS_DIRECTORY_SQ)/t*-*.counts'
> > +++ b/t/aggregate-results.sh
> >  
> > -while read file
> > +for file in $1

Reading aggregate-results.sh alone looks wrong; but your patch is correct overall because of how it's invoked from the Makefile. I think that's too subtle...

Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> I think we can go even further here, and just pass the
> $(TEST_RESULTS_DIRECTORY_SQ) as an argument to the script
Yes.
Previous: Ævar Arnfjörð BjarmasonNext: Felipe Contreras
Message 3 of 7 in “test: simplify counts aggregation”
  1. test: simplify counts aggregationFelipe Contreras, Mar 8, 2023
  2. Ævar Arnfjörð BjarmasonMar 8, 2023
  3. Eric WongMar 8, 2023
  4. Felipe ContrerasMar 8, 2023
  5. Felipe ContrerasMar 8, 2023
  6. Ævar Arnfjörð BjarmasonMar 8, 2023
  7. Felipe ContrerasMar 8, 2023

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.