]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftest: rtc: skip some tests if the alarm only supports minutes
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 18 Feb 2025 10:15:47 +0000 (11:15 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 1 Apr 2025 13:03:13 +0000 (15:03 +0200)
commit0cd73ab4df45ed9a78051cfb96a6de48d421852f
treeee5f1f963f76c8d0e230d16d4a83565cece08fee
parentc2004b6efb1c891b80bef186771a3668fc25f6b3
selftest: rtc: skip some tests if the alarm only supports minutes

There are alarms which have only minute-granularity. The RTC core
already has a flag to describe them. Use this flag to skip tests which
require the alarm to support seconds.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250218101548.6514-1-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
tools/testing/selftests/rtc/rtctest.c