public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: Ioana Ciornei <ioana.ciornei@nxp.com>, netdev@vger.kernel.org
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Simon Horman <horms@kernel.org>,
	linux-kernel@vger.kernel.org, petrm@nvidia.com,
	willemb@google.com, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next v5 7/9] selftests: drivers: hw: move to KTAP output
Date: Thu, 2 Apr 2026 12:10:09 +0200	[thread overview]
Message-ID: <5b7faeab-77b5-4a3c-a717-5a80f5e76a31@redhat.com> (raw)
In-Reply-To: <20260330152933.2195885-8-ioana.ciornei@nxp.com>

On 3/30/26 5:29 PM, Ioana Ciornei wrote:
> diff --git a/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh b/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh
> index f290ce1832f1..ed81bdc33536 100755
> --- a/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh
> +++ b/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh
> @@ -11,10 +11,12 @@ ALL_TESTS="
>  NUM_NETIFS=2
>  lib_dir=$(dirname "$0")
>  source "$lib_dir"/../../../net/forwarding/lib.sh
> +source "$lib_dir"/../../../kselftest/ktap_helpers.sh

AI review noted:
---
Will this test work correctly after installation? The test sources
ktap_helpers.sh but the file doesn't appear to be included in the
Makefile's TEST_INCLUDES variable.

Looking at tools/testing/selftests/drivers/net/hw/Makefile, when
'make install' is run, only files listed in TEST_PROGS, TEST_FILES,
and TEST_INCLUDES are copied to the installation directory. Files
referenced via 'source' need to be in TEST_INCLUDES to be available
at runtime.

Without adding '../../../kselftest/ktap_helpers.sh' to TEST_INCLUDES,
the test will fail with 'No such file or directory' when run from an
installed location.
---

IMHO this is better handled with a follow-up as opposed to a repost.
While at that, please also take care of Petr's comment on 2/9.

Thanks,

Paolo


  reply	other threads:[~2026-04-02 10:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-30 15:29 [PATCH net-next v5 0/9] selftests: drivers: bash support for remote traffic generators Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 1/9] selftests: forwarding: extend ethtool_std_stats_get with pause statistics Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 2/9] selftests: net: extend lib.sh to parse drivers/net/net.config Ioana Ciornei
2026-03-30 16:42   ` Petr Machata
2026-03-30 15:29 ` [PATCH net-next v5 3/9] selftests: net: update some helpers to use run_on Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 4/9] selftests: drivers: hw: cleanup shellcheck warnings in the rmon test Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 5/9] selftests: drivers: hw: test rmon counters only on first interface Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 6/9] selftests: drivers: hw: replace counter upper limit with UINT32_MAX in rmon test Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 7/9] selftests: drivers: hw: move to KTAP output Ioana Ciornei
2026-04-02 10:10   ` Paolo Abeni [this message]
2026-04-02 10:18     ` Ioana Ciornei
2026-04-03 13:46     ` Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 8/9] selftests: drivers: hw: update ethtool_rmon to work with a single local interface Ioana Ciornei
2026-03-30 15:29 ` [PATCH net-next v5 9/9] selftests: drivers: hw: add test for the ethtool standard counters Ioana Ciornei
2026-04-02 10:20 ` [PATCH net-next v5 0/9] selftests: drivers: bash support for remote traffic generators patchwork-bot+netdevbpf

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=5b7faeab-77b5-4a3c-a717-5a80f5e76a31@redhat.com \
    --to=pabeni@redhat.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=ioana.ciornei@nxp.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=petrm@nvidia.com \
    --cc=willemb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox