On Mon, Jan 24, 2022 at 02:27:07PM -0700, Shuah Khan wrote: > On 1/24/22 10:55 AM, Mark Brown wrote: > > - ptrace_set_get_inherit(child, &vec_types[i]); > > + if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { > > + ptrace_set_get_inherit(child, &vec_types[i]); > > + } else { > > + ksft_test_result_skip("%s SVE_PT_VL_INHERIT set\n", > > + vec_types[i].name); > > + ksft_test_result_skip("%s SVE_PT_VL_INHERIT cleared\n", > > + vec_types[i].name); > These messages are a bit confusing. Are we skipping two tests? ptrace_set_get_inherit() logs two test results (one for set, one for get). > These messages can be combined into one like this one on lin 572: > ksft_test_result_skip("%s get/set VL %d\n", vec_types[i].name, vl); If we do that then the number of planned tests won't line up with the number of expected tests.
Attachment:
signature.asc
Description: PGP signature