| b9167c80 | 20-Feb-2020 |
Michael Ellerman <[email protected]> |
selftests: Install settings files to fix TIMEOUT failures
Commit 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") added a 45 second timeout for tests, and also added a
selftests: Install settings files to fix TIMEOUT failures
Commit 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") added a 45 second timeout for tests, and also added a way for tests to customise the timeout via a settings file.
For example the ftrace tests take multiple minutes to run, so they were given longer in commit b43e78f65b1d ("tracing/selftests: Turn off timeout setting").
This works when the tests are run from the source tree. However if the tests are installed with "make -C tools/testing/selftests install", the settings files are not copied into the install directory. When the tests are then run from the install directory the longer timeouts are not applied and the tests timeout incorrectly.
So add the settings files to TEST_FILES of the appropriate Makefiles to cause the settings files to be installed using the existing install logic.
Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 7b302772 | 18-Dec-2018 |
Alexandre Belloni <[email protected]> |
selftests: rtc: rtctest: add alarm test on minute boundary
Unfortunately, some RTC don't have a second resolution for alarm so also test for alarm on a minute boundary.
Signed-off-by: Alexandre Bel
selftests: rtc: rtctest: add alarm test on minute boundary
Unfortunately, some RTC don't have a second resolution for alarm so also test for alarm on a minute boundary.
Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| d8da8665 | 19-Apr-2018 |
Alexandre Belloni <[email protected]> |
selftests: rtc: rework rtctest
Rework rtctest to use the test harness to better handle skipping tests (e.g. when alarms are not available). Also, it now handles timeout so it will not block expectin
selftests: rtc: rework rtctest
Rework rtctest to use the test harness to better handle skipping tests (e.g. when alarms are not available). Also, it now handles timeout so it will not block expecting an alarm that never comes.
Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Shuah Khan (Samsung OSG) <[email protected]>
show more ...
|