From: Alexander Duyck <alexander.duyck@gmail.com>
To: bpf@vger.kernel.org
Cc: ast@kernel.org, daniel@iogearbox.net, kafai@fb.com,
john.fastabend@gmail.com, kernel-team@fb.com,
netdev@vger.kernel.org, edumazet@google.com, brakmo@fb.com,
alexanderduyck@fb.com
Subject: [bpf-next PATCH 0/4] selftests/bpf: Migrate test_tcpbpf_user to be a part of test_progs framework
Date: Tue, 27 Oct 2020 18:46:58 -0700 [thread overview]
Message-ID: <160384954046.698509.132709669068189999.stgit@localhost.localdomain> (raw)
Move the test functionality from test_tcpbpf_user into the test_progs
framework so that it will be run any time the test_progs framework is run.
This will help to prevent future test escapes as the individual tests,
such as test_tcpbpf_user, are less likely to be run by developers and CI
tests.
As a part of moving it over the series goes through and updates the code
to make use of the existing APIs included in the test_progs framework.
This is meant to simplify and streamline the test code and avoid
duplication of effort.
---
Alexander Duyck (4):
selftests/bpf: Move test_tcppbf_user into test_progs
selftests/bpf: Drop python client/server in favor of threads
selftests/bpf: Replace EXPECT_EQ with ASSERT_EQ and refactor verify_results
selftests/bpf: Migrate tcpbpf_user.c to use BPF skeleton
.../selftests/bpf/prog_tests/tcpbpf_user.c | 260 +++++++++++-------
tools/testing/selftests/bpf/tcp_client.py | 50 ----
tools/testing/selftests/bpf/tcp_server.py | 80 ------
3 files changed, 158 insertions(+), 232 deletions(-)
delete mode 100755 tools/testing/selftests/bpf/tcp_client.py
delete mode 100755 tools/testing/selftests/bpf/tcp_server.py
--
next reply other threads:[~2020-10-28 23:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-28 1:46 Alexander Duyck [this message]
2020-10-28 1:47 ` [bpf-next PATCH 1/4] selftests/bpf: Move test_tcppbf_user into test_progs Alexander Duyck
2020-10-29 23:27 ` Andrii Nakryiko
2020-10-30 0:39 ` Alexander Duyck
2020-10-28 1:47 ` [bpf-next PATCH 2/4] selftests/bpf: Drop python client/server in favor of threads Alexander Duyck
2020-10-29 1:51 ` Martin KaFai Lau
2020-10-29 16:58 ` Alexander Duyck
2020-10-29 18:12 ` Martin KaFai Lau
2020-10-29 19:51 ` Alexander Duyck
2020-10-28 1:47 ` [bpf-next PATCH 3/4] selftests/bpf: Replace EXPECT_EQ with ASSERT_EQ and refactor verify_results Alexander Duyck
2020-10-28 1:47 ` [bpf-next PATCH 4/4] selftests/bpf: Migrate tcpbpf_user.c to use BPF skeleton Alexander Duyck
2020-10-29 23:20 ` Andrii Nakryiko
2020-10-30 0:42 ` Alexander Duyck
2020-10-30 2:30 ` Andrii Nakryiko
2020-10-30 15:50 ` Alexander Duyck
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=160384954046.698509.132709669068189999.stgit@localhost.localdomain \
--to=alexander.duyck@gmail.com \
--cc=alexanderduyck@fb.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=brakmo@fb.com \
--cc=daniel@iogearbox.net \
--cc=edumazet@google.com \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=kernel-team@fb.com \
--cc=netdev@vger.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