From: Sergei Shtylyov <sergei.shtylyov@gmail.com>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>,
linux-renesas-soc@vger.kernel.org
Cc: John Stultz <jstultz@google.com>,
Thomas Gleixner <tglx@linutronix.de>,
Stephen Boyd <sboyd@kernel.org>, Shuah Khan <shuah@kernel.org>,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH 8/9] selftests: timers: clocksource-switch: add 'runtime' command line parameter
Date: Thu, 14 Jul 2022 11:27:54 +0300 [thread overview]
Message-ID: <23526df7-b77d-4223-71ee-51c456dbc236@gmail.com> (raw)
In-Reply-To: <20220713204623.5443-9-wsa+renesas@sang-engineering.com>
Hello!
On 7/13/22 11:46 PM, Wolfram Sang wrote:
> So the user can decide how long the test should run.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> tools/testing/selftests/timers/clocksource-switch.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/timers/clocksource-switch.c b/tools/testing/selftests/timers/clocksource-switch.c
> index 5256e6215980..a1d0d33738b6 100644
> --- a/tools/testing/selftests/timers/clocksource-switch.c
> +++ b/tools/testing/selftests/timers/clocksource-switch.c
[...]
> - while ((opt = getopt(argc, argv, "s")) != -1) {
> + while ((opt = getopt(argc, argv, "st:")) != -1) {
> switch (opt) {
> case 's':
> do_sanity_check = 0;
> break;
> + case 't':
> + runtime = atoi(optarg);
> + break;
> default:
> printf("Usage: %s [-s]\n", argv[0]);
> printf(" -s: skip sanity checks\n");
Hm, you probably forgot to update the usage msg?
[...]
MBR, Sergey
next prev parent reply other threads:[~2022-07-14 8:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-13 20:46 [PATCH 0/9] selftests: timers: fixes and improvements Wolfram Sang
2022-07-13 20:46 ` [PATCH 1/9] selftests: timers: valid-adjtimex: build fix for newer toolchains Wolfram Sang
2022-07-13 20:46 ` [PATCH 2/9] selftests: timers: fix declarations of main() Wolfram Sang
2022-07-13 20:46 ` [PATCH 3/9] selftests: timers: nanosleep: adapt to kselftest framework Wolfram Sang
2022-07-13 20:46 ` [PATCH 4/9] selftests: timers: inconsistency-check: " Wolfram Sang
2022-07-13 20:46 ` [PATCH 5/9] selftests: timers: clocksource-switch: fix passing errors from child Wolfram Sang
2022-07-13 20:46 ` [PATCH 6/9] selftests: timers: clocksource-switch: sort includes Wolfram Sang
2022-07-13 20:46 ` [PATCH 7/9] selftests: timers: clocksource-switch: add command line switch to skip sanity check Wolfram Sang
2022-07-13 20:46 ` [PATCH 8/9] selftests: timers: clocksource-switch: add 'runtime' command line parameter Wolfram Sang
2022-07-13 21:05 ` John Stultz
2022-07-14 8:27 ` Sergei Shtylyov [this message]
2022-07-14 11:32 ` Wolfram Sang
2022-07-13 20:46 ` [PATCH 9/9] selftests: timers: clocksource-switch: adapt to kselftest framework Wolfram Sang
2022-07-13 21:02 ` [PATCH 0/9] selftests: timers: fixes and improvements John Stultz
2022-07-13 23:56 ` Shuah Khan
2022-07-14 18:43 ` Wolfram Sang
2022-07-14 20:47 ` Shuah Khan
2022-07-14 11:32 ` Wolfram Sang
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=23526df7-b77d-4223-71ee-51c456dbc236@gmail.com \
--to=sergei.shtylyov@gmail.com \
--cc=jstultz@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=shuah@kernel.org \
--cc=tglx@linutronix.de \
--cc=wsa+renesas@sang-engineering.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