Searched hist:"0925225956 bbef863d51ee882d4d20c9a9c90db2" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | diff 0925225956bbef863d51ee882d4d20c9a9c90db2 Tue Apr 26 23:13:53 CDT 2022 Mykola Lysenko <mykolal@fb.com> bpf/selftests: Add granular subtest output for prog_test
Implement per subtest log collection for both parallel and sequential test execution. This allows granular per-subtest error output in the 'All error logs' section. Add subtest log transfer into the protocol during the parallel test execution.
Move all test log printing logic into dump_test_log function. One exception is the output of test names when verbose printing is enabled. Move test name/result printing into separate functions to avoid repetition.
Print all successful subtest results in the log. Print only failed test logs when test does not have subtests. Or only failed subtests' logs when test has subtests.
Disable 'All error logs' output when verbose mode is enabled. This functionality was already broken and is causing confusion.
Signed-off-by: Mykola Lysenko <mykolal@fb.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220427041353.246007-1-mykolal@fb.com
|
H A D | test_progs.c | diff 0925225956bbef863d51ee882d4d20c9a9c90db2 Tue Apr 26 23:13:53 CDT 2022 Mykola Lysenko <mykolal@fb.com> bpf/selftests: Add granular subtest output for prog_test
Implement per subtest log collection for both parallel and sequential test execution. This allows granular per-subtest error output in the 'All error logs' section. Add subtest log transfer into the protocol during the parallel test execution.
Move all test log printing logic into dump_test_log function. One exception is the output of test names when verbose printing is enabled. Move test name/result printing into separate functions to avoid repetition.
Print all successful subtest results in the log. Print only failed test logs when test does not have subtests. Or only failed subtests' logs when test has subtests.
Disable 'All error logs' output when verbose mode is enabled. This functionality was already broken and is causing confusion.
Signed-off-by: Mykola Lysenko <mykolal@fb.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220427041353.246007-1-mykolal@fb.com
|