All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: Matthieu Baerts <matthieu.baerts@tessares.net>
Cc: Paolo Abeni <pabeni@redhat.com>, mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next v2 0/9] Refactor mptcp_join.sh
Date: Thu, 17 Feb 2022 16:33:02 -0800 (PST)	[thread overview]
Message-ID: <ffdf6780-5cc7-bde4-586e-eb36c7a409d@linux.intel.com> (raw)
In-Reply-To: <20220217174329.826430-1-matthieu.baerts@tessares.net>

On Thu, 17 Feb 2022, Matthieu Baerts wrote:

> A few patches from the v1 have already been applied.
>
> Compared to the v1, this series comes with new patches and updated ones.
>
> Patch 1/9 was suggested by Paolo: bigger than the original one but following the
> standard way of using getopt. This is also clearer and avoid regexes.
>
> Patch 2/9: while working on patch 1/9, I was annoyed by having the tests groups
> defined multiple times. And I think it already happened to have missed the
> update of one of them :)
>
> Patch 3/9 is "safer" but also needed with the new options to execute specific
> tests.
>

Patches 1-3 look good to apply now:

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>

> Patch 4/9 is the updated version of the previous patch 3/9 from v1: mainly
> rebased. I only added one line in the "usage()" function and use lower cases for
> only_tests variable.
>
> Patch 5/9 is new and similar to the previous patch: another way to execute a
> specific test, useful when using 'git blame'. Also help to have patch 6/9.
>

These are running fine for me, it's just the issue of 2000+ lines of churn 
and the potential (or even likely) net/net-next merge conflicts if we need 
to modify mptcp_join.sh after the 5.18 merge window. Hopefully all the 
work we're doing now to stabilize the tests means we will not have as many 
-net mptcp_join.sh changes in the next cycle, but we would still probably 
run in to some headaches. If we do apply these it would need to be right 
before net-next closes for 5.18.

Since you've put this much work into this patch it implies that you think 
the merge headaches would be worth it for the 5.18 development cycle :) 
For the way I use the test script the ability to test by number is not 
that critical - is anyone else (Paolo?) thinking you'll use this feature?


> Patch 6/9 is a handy feature when trying to find which tests had issues when
> executed on a CI or locally.
>

I like this! Highly dependent on previous patches though.

> Patch 7/9 was present in the v1. Non local variables have no longer been renamed
> + a there were a few missing 'local' keywords.
>

This seems a lot more manageable than v1, thanks.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>

> Patch 8/9 and 9/9 are the same as in v1 but rebased. We are still ShellCheck
> compliant.
>

These look good too:

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>

> Matthieu Baerts (9):
>  Squash to "selftests: mptcp: join: allow running -cCi"
>  selftests: mptcp: join: define tests groups once
>  selftests: mptcp: join: reset failing links
>  selftests: mptcp: join: option to execute specific tests
>  selftests: mptcp: join: alt. to exec specific tests
>  selftests: mptcp: join: list failure at the end
>  selftests: mptcp: join: clarify local/global vars
>  selftests: mptcp: join: avoid backquotes
>  selftests: mptcp: join: make it shellcheck compliant
>
> .../testing/selftests/net/mptcp/mptcp_join.sh | 2248 +++++++++--------
> 1 file changed, 1202 insertions(+), 1046 deletions(-)
>
> -- 
> 2.34.1
>
>
>

--
Mat Martineau
Intel

  parent reply	other threads:[~2022-02-18  0:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 17:43 [PATCH mptcp-next v2 0/9] Refactor mptcp_join.sh Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 1/9] Squash to "selftests: mptcp: join: allow running -cCi" Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 2/9] selftests: mptcp: join: define tests groups once Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 3/9] selftests: mptcp: join: reset failing links Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 4/9] selftests: mptcp: join: option to execute specific tests Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 5/9] selftests: mptcp: join: alt. to exec " Matthieu Baerts
2022-02-18  0:35   ` Mat Martineau
2022-02-18 10:40     ` Matthieu Baerts
2022-02-18 18:29       ` Mat Martineau
2022-02-17 17:43 ` [PATCH mptcp-next v2 6/9] selftests: mptcp: join: list failure at the end Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 7/9] selftests: mptcp: join: clarify local/global vars Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 8/9] selftests: mptcp: join: avoid backquotes Matthieu Baerts
2022-02-17 17:43 ` [PATCH mptcp-next v2 9/9] selftests: mptcp: join: make it shellcheck compliant Matthieu Baerts
2022-02-18  0:33 ` Mat Martineau [this message]
2022-02-18 11:04   ` [PATCH mptcp-next v2 0/9] Refactor mptcp_join.sh Paolo Abeni
2022-02-18 16:43     ` Paolo Abeni
2022-02-18 18:59       ` Mat Martineau
2022-02-18 21:05         ` Matthieu Baerts
2022-02-18 22:37           ` Mat Martineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ffdf6780-5cc7-bde4-586e-eb36c7a409d@linux.intel.com \
    --to=mathew.j.martineau@linux.intel.com \
    --cc=matthieu.baerts@tessares.net \
    --cc=mptcp@lists.linux.dev \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.