Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: Jonathan Toppins <jtoppins@redhat.com>
To: Benjamin Poirier <bpoirier@nvidia.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Jay Vosburgh <j.vosburgh@gmail.com>,
	Shuah Khan <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org
Subject: kselftest: bonding: dev_addr_lists.sh doesn't run due to lack of dependencies
Date: Wed, 12 Oct 2022 10:17:36 -0400	[thread overview]
Message-ID: <40f04ded-0c86-8669-24b1-9a313ca21076@redhat.com> (raw)

When kselftest for bonding is built like:
$ make TARGETS="drivers/net/bonding" -j8 -C tools/testing/selftests gen_tar

and then run on the target:
$ ./run_kselftest.sh
[...]
# selftests: drivers/net/bonding: dev_addr_lists.sh
# ./dev_addr_lists.sh: line 17: ./../../../net/forwarding/lib.sh: No 
such file or directory
# ./dev_addr_lists.sh: line 107: tests_run: command not found
# ./dev_addr_lists.sh: line 109: exit: : numeric argument required
# ./dev_addr_lists.sh: line 34: pre_cleanup: command not found
not ok 4 selftests: drivers/net/bonding: dev_addr_lists.sh # exit=2
[...]

I am still new to kselftests is this expected or is there some way in 
the make machinery to force packaging of net as well?

Thanks,
-Jon


             reply	other threads:[~2022-10-12 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12 14:17 Jonathan Toppins [this message]
2022-10-13  0:40 ` kselftest: bonding: dev_addr_lists.sh doesn't run due to lack of dependencies Benjamin Poirier
2022-10-17 17:53   ` Jonathan Toppins

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=40f04ded-0c86-8669-24b1-9a313ca21076@redhat.com \
    --to=jtoppins@redhat.com \
    --cc=bpoirier@nvidia.com \
    --cc=j.vosburgh@gmail.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=shuah@kernel.org \
    /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