diff options
author | Daniel Müller <deso@posteo.net> | 2023-05-25 23:22:48 +0000 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-05-25 16:51:05 -0700 |
commit | 321a64b328156fd43d3be589c24905a641c7995b (patch) | |
tree | 3b3e65cbb5e5b98a9e1a9352847cd81111cf710f /tools/perf/scripts/python/task-analyzer.py | |
parent | 4c857a719bf9c5ddbcf3bd92398632041bff50d0 (diff) |
selftests/bpf: Check whether to run selftest
The sockopt test invokes test__start_subtest and then unconditionally
asserts the success. That means that even if deny-listed, any test will
still run and potentially fail.
Evaluate the return value of test__start_subtest() to achieve the
desired behavior, as other tests do.
Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230525232248.640465-1-deso@posteo.net
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions