[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b3741c08-5cc2-4b82-be26-7c2a0f79fa86@linuxfoundation.org>
Date: Tue, 11 Jun 2024 14:37:47 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Muhammad Usama Anjum <usama.anjum@...labora.com>,
Shuah Khan <shuah@...nel.org>, Vincenzo Frascino
<vincenzo.frascino@....com>, Tiezhu Yang <yangtiezhu@...ngson.cn>,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: kernel@...labora.com, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v2 0/4] kselftests: vdso: conform tests to TAP output
On 6/9/24 23:41, Muhammad Usama Anjum wrote:
> Conform individual tests to TAP output. One patch conform one test. With
> this series, all vDSO tests become TAP conformant.
>
> First patch conform the test by using kselftest_harness.h. Other patches
> are conforming using default kselftest.h helpers.
>
> All tests have been tested multiple times before and after these
> patches. They are working correctly and outputting TAP messaging to find
> failures quikly when they happen.
> ---
> Changes since v1:
> - Update cover letter
> - Update commit message of first patch
>
> Muhammad Usama Anjum (4):
> kselftests: vdso: vdso_test_clock_getres: conform test to TAP output
> kselftests: vdso: vdso_test_correctness: conform test to TAP output
> kselftests: vdso: vdso_test_getcpu: conform test to TAP output
> kselftests: vdso: vdso_test_gettimeofday: conform test to TAP output
>
> .../selftests/vDSO/vdso_test_clock_getres.c | 68 ++++----
> .../selftests/vDSO/vdso_test_correctness.c | 146 +++++++++---------
> .../testing/selftests/vDSO/vdso_test_getcpu.c | 16 +-
> .../selftests/vDSO/vdso_test_gettimeofday.c | 23 +--
> 4 files changed, 126 insertions(+), 127 deletions(-)
>
I see two changes:
- concvering this test to use kselftes_harness. I am not seeing a value to this.
- Second converting every single print to TAP. This isn't necessary since the
kselftest wrapper prints appropriate summary message based on the KSFT_ code
I want to output before and after to assess the value of this change. TAP conversions
make sense if and when they add value.
thanks,
-- Shuah
Powered by blists - more mailing lists