linux/tools/testing/selftests/timers
Po-Hsu Lin 5c1e4f7e9e selftests/timers: Turn off timeout setting
The following 4 tests in timers can take longer than the default 45
seconds that added in commit 852c8cbf34 ("selftests/kselftest/runner.sh:
Add 45 second timeout per test") to run:
  * nsleep-lat - 2m7.350s
  * set-timer-lat - 2m0.66s
  * inconsistency-check - 1m45.074s
  * raw_skew - 2m0.013s

Thus they will be marked as failed with the current 45s setting:
  not ok 3 selftests: timers: nsleep-lat # TIMEOUT
  not ok 4 selftests: timers: set-timer-lat # TIMEOUT
  not ok 6 selftests: timers: inconsistency-check # TIMEOUT
  not ok 7 selftests: timers: raw_skew # TIMEOUT

Disable the timeout setting for timers can make these tests finish
properly:
  ok 3 selftests: timers: nsleep-lat
  ok 4 selftests: timers: set-timer-lat
  ok 6 selftests: timers: inconsistency-check
  ok 7 selftests: timers: raw_skew

https://bugs.launchpad.net/bugs/1864626
Fixes: 852c8cbf34 ("selftests/kselftest/runner.sh: Add 45 second timeout per test")
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-08-20 15:49:28 -06:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
adjtick.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
alarmtimer-suspend.c selftests: timers: drop support for !KTEST case 2017-08-22 11:15:59 -06:00
change_skew.c selftests: timers: drop support for !KTEST case 2017-08-22 11:15:59 -06:00
clocksource-switch.c selftests/timers: make loop consistent with array size 2017-08-25 10:00:51 -06:00
freq-step.c kselftests: timers: freq-step: Update maximum acceptable precision and errors 2019-06-22 11:28:53 +02:00
inconsistency-check.c selftests: timers: drop support for !KTEST case 2017-08-22 11:15:59 -06:00
leap-a-day.c kselftests: timers: leap-a-day: Change default arguments to help test runs 2017-08-22 11:34:52 -06:00
leapcrash.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
Makefile selftests/timers: Turn off timeout setting 2020-08-20 15:49:28 -06:00
mqueue-lat.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
nanosleep.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
nsleep-lat.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
posix_timers.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 2019-05-30 11:26:39 -07:00
raw_skew.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
rtcpie.c selftests: timers: rtcpie: restore previous PIE rate 2018-05-30 15:21:51 -06:00
set-2038.c selftests: timers: drop support for !KTEST case 2017-08-22 11:15:59 -06:00
set-tai.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
set-timer-lat.c selftests: timers: set-timer-lat: Fix hang when testing unsupported alarms 2017-09-25 10:09:07 -06:00
set-tz.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
settings selftests/timers: Turn off timeout setting 2020-08-20 15:49:28 -06:00
skew_consistency.c selftest/timers: Remove duplicate header 2019-04-08 16:18:21 -06:00
threadtest.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00
valid-adjtimex.c selftests/timers: Add missing fflush(stdout) calls 2019-05-21 09:24:31 -06:00