From: Yucong Sun <fallentree@fb.com>
To: <andrii@kernel.org>
Cc: <bpf@vger.kernel.org>, Yucong Sun <fallentree@fb.com>
Subject: [PATCH v5 bpf-next 0/3] selftests/bpf: Add parallelism to test_progs
Date: Wed, 15 Sep 2021 20:26:38 -0700 [thread overview]
Message-ID: <20210916032641.1413293-1-fallentree@fb.com> (raw)
This patch series adds "-j" parelell execution to test_progs, with
"--debug" to display server/worker communications.
V5 -> V4:
* change to SOCK_SEQPACKET for close notification.
* move all debug output to "--debug" mode
* output log as test finish, and all error logs again after summary line.
* variable naming / style changes
* adds serial_test_name() to replace serial test lists.
Yucong Sun (3):
selftests/bpf: Add parallelism to test_progs
selftests/bpf: add per worker cgroup suffix
selftests/bpf: pin some tests to worker 0
tools/testing/selftests/bpf/cgroup_helpers.c | 5 +-
tools/testing/selftests/bpf/cgroup_helpers.h | 1 +
.../selftests/bpf/prog_tests/bpf_obj_id.c | 2 +-
.../bpf/prog_tests/select_reuseport.c | 2 +-
.../testing/selftests/bpf/prog_tests/timer.c | 2 +-
.../selftests/bpf/prog_tests/xdp_bonding.c | 2 +-
.../selftests/bpf/prog_tests/xdp_link.c | 2 +-
tools/testing/selftests/bpf/test_progs.c | 658 +++++++++++++++++-
tools/testing/selftests/bpf/test_progs.h | 36 +-
9 files changed, 667 insertions(+), 43 deletions(-)
--
2.30.2
next reply other threads:[~2021-09-16 3:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 3:26 Yucong Sun [this message]
2021-09-16 3:26 ` [PATCH v5 bpf-next 1/3] selftests/bpf: Add parallelism to test_progs Yucong Sun
2021-09-17 18:43 ` Andrii Nakryiko
2021-09-17 18:54 ` Andrii Nakryiko
2021-09-17 19:44 ` Andrii Nakryiko
2021-09-16 3:26 ` [PATCH v5 bpf-next 2/3] selftests/bpf: add per worker cgroup suffix Yucong Sun
2021-09-17 21:10 ` Andrii Nakryiko
2021-09-16 3:26 ` [PATCH v5 bpf-next 3/3] selftests/bpf: pin some tests to worker 0 Yucong Sun
2021-09-17 21:22 ` Andrii Nakryiko
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=20210916032641.1413293-1-fallentree@fb.com \
--to=fallentree@fb.com \
--cc=andrii@kernel.org \
--cc=bpf@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