From: Shuah Khan <shuah@kernel.org>
To: Paul Elder <paul.elder@pitt.edu>,
alice.ferrazzi@gmail.com, gregkh@linuxfoundation.org,
labath@google.com, panand@redhat.com, will.deacon@arm.com
Cc: Shuah Khan <shuahkh@osg.samsung.com>,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
Shuah Khan <shuah@kernel.org>
Subject: Re: [PATCH 0/4] Convert to TAP13 using ksft_ var arg msg api
Date: Fri, 30 Jun 2017 10:33:47 -0600 [thread overview]
Message-ID: <3d5e18c0-781d-b9d3-c9df-c02e62ded88d@kernel.org> (raw)
In-Reply-To: <6fb6618f-7f39-dd6b-07bb-0e7e9929e6e1@pitt.edu>
On 06/30/2017 10:13 AM, Paul Elder wrote:
> On 06/30/2017 08:18 AM, Shuah Khan wrote:
>> This patch series converts breakpoint_test_arm64 to TAP13 output. Uses
>> ksft_ var arg msg functions as needed. Changed to ensure parent is the
>> one that increments test counters.
>>
>> breakpoint_test, step_after_suspend_test, membarrier tests are changed
>> to use ksft_ var arg msg functions as needed.
>>
>> This patch series depends on Paul Elder's
>>
>> [PATCH v2 0/2] kselftest: make ksft_* output functions variadic
>> The v2 series doesn't append newline and makes it easier to use.
>>
>> Shuah Khan (4):
>> selftests: breakpoint_test: use ksft_* var arg msg api
>> selftests: breakpoints: step_after_suspend_test use ksft_* var arg msg
>> api
>> selftests: breakpoints: breakpoint_test_arm64: convert test to use
>> TAP13
>> selftests: membarrier: use ksft_* var arg msg api
>>
>> .../selftests/breakpoints/breakpoint_test.c | 28 ++++---
>> .../selftests/breakpoints/breakpoint_test_arm64.c | 94 +++++++++++++---------
>> .../breakpoints/step_after_suspend_test.c | 59 ++++++++------
>> .../testing/selftests/membarrier/membarrier_test.c | 91 ++++++++++-----------
>> 4 files changed, 148 insertions(+), 124 deletions(-)
>>
> Looks good to me.
>
> Although I am wondering why you said earlier that you were going to go with
> my v1, while this depends on v2.
>
> Thank you,
>
> Paul
>
>
Yeah my bad!
I was playing with both v1 and v2 for my testing. I lost track of which one worked
well. I had to start from square one and re-test.
v2 by not appending newline, allows custom formats in individual test messages.
For example, a test wants to use tabs between two ksft_print_msg() calls or _report_
messages. v2 is flexible and works better and leds itself well. Users can just pass
the format and expect it to stick.
If there are no issues with this series, I plan to apply your v2 series and this
series later on today or early tomorrow to linux-kselftest next.
If we have this infrastructure in place, we will be able to make progress in the
next release with the TAP13 conversion of other tests.
thanks,
-- Shuah
thanks,
-- Shuah
next prev parent reply other threads:[~2017-06-30 16:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 23:18 Shuah Khan
2017-06-29 23:18 ` [PATCH 1/4] selftests: breakpoint_test: use ksft_* " Shuah Khan
2017-06-29 23:18 ` [PATCH 2/4] selftests: breakpoints: step_after_suspend_test " Shuah Khan
2017-06-29 23:18 ` [PATCH 3/4] selftests: breakpoints: breakpoint_test_arm64: convert test to use TAP13 Shuah Khan
2017-06-29 23:18 ` [PATCH 4/4] selftests: membarrier: use ksft_* var arg msg api Shuah Khan
2017-06-30 16:13 ` [PATCH 0/4] Convert to TAP13 using ksft_ " Paul Elder
2017-06-30 16:33 ` Shuah Khan [this message]
2017-06-30 16:52 ` Paul Elder
2017-06-30 17:06 ` Shuah Khan
2017-06-30 18:34 ` Paul Elder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d5e18c0-781d-b9d3-c9df-c02e62ded88d@kernel.org \
--to=shuah@kernel.org \
--cc=alice.ferrazzi@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=labath@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=panand@redhat.com \
--cc=paul.elder@pitt.edu \
--cc=shuahkh@osg.samsung.com \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome