[PATCH v2 1/1] rtc: rtctest: Improve support detection

2017-08-15 Thread Lukáš Doktor
-off-by: Lukáš Doktor <ldok...@redhat.com> --- tools/testing/selftests/timers/rtctest.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/rtctest.c b/tools/testing/selftests/timers/rtctest.c index f61170f..411eff6 100644 --- a/tools/t

Re: [PATCH] rtc: rtctest: Improve support detection

2017-08-15 Thread Lukáš Doktor
Dne 12.8.2017 v 22:22 Alexandre Belloni napsal(a): > Hi, > > On 11/08/2017 at 11:14:55 +0200, Lukáš Doktor wrote: >> The rtc-generic and opal-rtc are failing to run this test as they do not >> support all the features. Let's treat the error returns and skip to

[PATCH v2 0/1] rtc: rtctest: Support opal-rtc and rtc-generic

2017-08-15 Thread Lukáš Doktor
missing space before "EIO" check. Lukáš Doktor (1): rtc: rtctest: Improve support detection tools/testing/selftests/timers/rtctest.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.9.4

[PATCH 0/1] rtc: rtctest: Support opal-rtc and rtc-generic

2017-08-11 Thread Lukáš Doktor
On ppc64le machines the opal-rtc, resp rtc-generic in guest is used. They only support minimal set of functionality and fail this test in not-yet treated way. This extends the checks and skips to the next test when feature is not supported. Lukáš Doktor (1): rtc: rtctest: Improve support

[PATCH] rtc: rtctest: Improve support detection

2017-08-11 Thread Lukáš Doktor
-off-by: Lukáš Doktor <ldok...@redhat.com> --- tools/testing/selftests/timers/rtctest.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/timers/rtctest.c b/tools/testing/selftests/timers/rtctest.c index f61170f..6344842 100644 --- a/tools/t