Re: [RFC 1/7] selftests: kselftest_harness: generate test name once

2024-02-16 Thread Kees Cook
On Thu, Feb 15, 2024 at 04:41:16PM -0800, Jakub Kicinski wrote: > Since we added variant support generating full test case > name takes 4 string arguments. We're about to need it > in another two places. Stop the duplication and print > once into a temporary buffer. > > Suggested-by: Jakub Sitnick

[RFC 1/7] selftests: kselftest_harness: generate test name once

2024-02-15 Thread Jakub Kicinski
Since we added variant support generating full test case name takes 4 string arguments. We're about to need it in another two places. Stop the duplication and print once into a temporary buffer. Suggested-by: Jakub Sitnicki Signed-off-by: Jakub Kicinski --- tools/testing/selftests/kselftest_har