Merge "Temporarily disable some clock_getres tests."
am: 849f0db7ca
Change-Id: Ia002ff900640f0ff6fde67829eac77cfa2221fc0
diff --git a/tests/time_test.cpp b/tests/time_test.cpp
index 4e17242..51adf13 100644
--- a/tests/time_test.cpp
+++ b/tests/time_test.cpp
@@ -708,6 +708,10 @@
}
TEST(time, clock_getres_CLOCK_REALTIME) {
+#if defined(__i386__)
+ // See b/141515847
+ GTEST_SKIP() << "Temporary disable until cuttlefish kernel is fixed.";
+#endif
timespec ts;
ASSERT_EQ(0, clock_getres(CLOCK_REALTIME, &ts));
ASSERT_EQ(1, ts.tv_nsec);
@@ -715,6 +719,10 @@
}
TEST(time, clock_getres_CLOCK_MONOTONIC) {
+#if defined(__i386__)
+ // See b/141515847
+ GTEST_SKIP() << "Temporary disable until cuttlefish kernel is fixed.";
+#endif
timespec ts;
ASSERT_EQ(0, clock_getres(CLOCK_MONOTONIC, &ts));
ASSERT_EQ(1, ts.tv_nsec);
@@ -732,6 +740,10 @@
}
TEST(time, clock_getres_CLOCK_BOOTTIME) {
+#if defined(__i386__)
+ // See b/141515847
+ GTEST_SKIP() << "Temporary disable until cuttlefish kernel is fixed.";
+#endif
timespec ts;
ASSERT_EQ(0, clock_getres(CLOCK_BOOTTIME, &ts));
ASSERT_EQ(1, ts.tv_nsec);