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

Re: [PATCH] t3701: we don't need no Perl for `add -i` anymore

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 27, 2023, 17:40 UTC
Message-ID
<xmqqzg7yaya4.fsf@gitster.g>
In-Reply-To
<pull.1504.git.1679898996492.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 6 quoted lines
> -if test_have_prereq !PERL
> -then
> -	skip_all='skipping add -i (scripted) tests, perl not available'
> -	test_done
> -fi
> -

The version before ab/retire-scripted-add-p partially touched this line used to use !ADD_I_USE_BUILTIN,!PERL as the prerequisites, i.e. "When we are not testing the built-in version, skip this script if we do not have a working Perl". Now we no longer have the scripted one, the former half of the prerequisite is never satisified (i.e. we are always testing the built-in version, and there is no reason to see if Perl is available).

With this the topic becomes complete.  Very nice.

I read the changes other test scripts touched by the topic just to double check, and it seems this was the only misconversion. t2016 and t6132 had the same logic but spelled in different ways, and there were converted correctly back then.

Will queue.  Thanks.
Previous: Johannes Schindelin via GitGitGadget
Message 2 of 2 in “t3701: we don't need no Perl for `add -i` anymore”
  1. t3701: we don't need no Perl for `add -i` anymoreJohannes Schindelin via GitGitGadget, Mar 27, 2023
  2. Junio C HamanoMar 27, 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.