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

Re: [RFC PATCH 00/95] Add missing &&'s in the testsuite

From
Elijah Newren <newren@gmail.com>
Date
Sep 24, 2010, 21:54 UTC
Message-ID
<AANLkTimdp1+urRt5kwo=1OEg5X-2mAZ6OWQvdyyAWZRt@mail.gmail.com>
In-Reply-To
<UA25cdpM3towJy13l2VNc8pgKHGybUWr88Zc0C9kQjUCExhj5gXkCQ@cipher.nrlssc.navy.mil>

On Fri, Sep 24, 2010 at 3:32 PM, Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil> wrote:

> Sounds like it should be about a 16 patch series.
>
> The first 15 patches should rework the tests that will fail when
> they are hooked together properly with &&'s.

Actually, only 9 of the tests fail when hooked together with &&'s and needed extra fixes because of this. 4 of the tests modify the code slightly in order to chain it together (e.g. replacing "a_command || return 1; command_that_fails" with "a_command && test_might_fail command_that_fails &&"), 1 removes a stray "1" at the end of the file, and one fixes lack of chaining by modifying tests to use test_exit_code instead of test_expect_success (namely tests that did nothing but check the exit code of a single command).

> And then one patch to mechanically add the missing &&'s.
Sure, I can include that change for the next round.
Thanks for the feedback.
Elijah
Previous: Brandon CaseyNext: Ævar Arnfjörð Bjarmason
Message 3 of 4 in “Add missing &&'s in the testsuite”
  1. 00/95 Add missing &&'s in the testsuiteElijah Newren, Sep 24, 2010
  2. Brandon CaseySep 24, 2010
  3. Elijah NewrenSep 24, 2010
  4. Ævar Arnfjörð BjarmasonSep 24, 2010

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.