aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-09-24 14:12:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-09-24 14:12:13 +0000
commit849f0db7cacb598821fd6bd87de7806928990ba5 (patch)
treeb48a2f5a1575585349f16b48e834b4cf96156204
parent7c852064bb693f4b6d1ac809782ea676ad54be96 (diff)
parent8eba2a59ac3fca54232cfc51e29d0dc3e7925a22 (diff)
downloadbionic-849f0db7cacb598821fd6bd87de7806928990ba5.tar.gz
Merge "Temporarily disable some clock_getres tests."
-rw-r--r--tests/time_test.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/time_test.cpp b/tests/time_test.cpp
index 4e1724211..51adf130b 100644
--- a/tests/time_test.cpp
+++ b/tests/time_test.cpp
@@ -708,6 +708,10 @@ TEST(time, clock_gettime_unknown) {
}
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_REALTIME) {
}
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_THREAD_CPUTIME_ID) {
}
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);