[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ee3dd78-675b-ac0e-87ce-96a7766d597b@redhat.com>
Date: Tue, 25 Feb 2020 10:16:10 -0500
From: Joe Lawrence <joe.lawrence@...hat.com>
To: Po-Hsu Lin <po-hsu.lin@...onical.com>,
linux-kselftest@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, shuah@...nel.org, sboyd@...nel.org,
tglx@...utronix.de, john.stultz@...aro.org
Subject: Re: [PATCH] selftests/timers: Turn off timeout setting
On 2/25/20 5:18 AM, Po-Hsu Lin wrote:
> Tests in timers especially nsleep-lat, set-timer-lat,
> inconsistency-check and raw_skew these 4 tests can take longer than
> the default 45 seconds that introduced in commit 852c8cbf
> (selftests/kselftest/runner.sh: Add 45 second timeout per test) to run.
>
> Disable the timeout setting for timers instead of looking for an proper
> value to make it more general.
>
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@...onical.com>
> ---
> tools/testing/selftests/timers/settings | 1 +
> 1 file changed, 1 insertion(+)
> create mode 100644 tools/testing/selftests/timers/settings
>
> diff --git a/tools/testing/selftests/timers/settings b/tools/testing/selftests/timers/settings
> new file mode 100644
> index 0000000..e7b9417
> --- /dev/null
> +++ b/tools/testing/selftests/timers/settings
> @@ -0,0 +1 @@
> +timeout=0
>
Hi,
Michael recently posted a patch that adds the various selftest settings
files to the TEST_FILES list, ensuring that they get copied to the
install directory along with the tests:
https://lore.kernel.org/linux-kselftest/20200220044241.2878-1-mpe@ellerman.id.au/
I think if you add that to the corresponding Makefile, you should be set.
Regards,
-- Joe
Powered by blists - more mailing lists