aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rtc/rtctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/rtc/rtctest.c')
-rw-r--r--tools/testing/selftests/rtc/rtctest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/rtc/rtctest.c b/tools/testing/selftests/rtc/rtctest.c
index 2b9d929a24ed..0d2674b43cad 100644
--- a/tools/testing/selftests/rtc/rtctest.c
+++ b/tools/testing/selftests/rtc/rtctest.c
@@ -115,6 +115,7 @@ TEST_F_TIMEOUT(rtc, date_read_loop, READ_LOOP_DURATION_SEC + 2) {
TH_LOG("Performed %ld RTC time reads.", iter_count);
}
+#ifndef __ANDROID__ // b/31578457
TEST_F_TIMEOUT(rtc, uie_read, NUM_UIE + 2) {
int i, rc, irq = 0;
unsigned long data;
@@ -378,6 +379,7 @@ TEST_F_TIMEOUT(rtc, alarm_wkalm_set_minute, 65) {
new = timegm((struct tm *)&tm);
ASSERT_EQ(new, secs);
}
+#endif
static void __attribute__((constructor))
__constructor_order_last(void)