Index: sql/connection_unittest.cc |
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc |
index 5412be150fcb75276e7f437ca489c5b3ee599ef9..0038a1d7f57aac2f8b2f692c6ed17eae44a5ee8c 100644 |
--- a/sql/connection_unittest.cc |
+++ b/sql/connection_unittest.cc |
@@ -1306,6 +1306,7 @@ TEST_F(SQLConnectionTest, TimeUpdateTransaction) { |
// patched to mmap read only, then write using OS file writes. If the |
// memory-mapped version doesn't reflect the OS file writes, SQLite's |
// memory-mapped I/O should be disabled on this platform. |
+#if !defined(MOJO_APPTEST_IMPL) |
TEST_F(SQLConnectionTest, MmapTest) { |
// Skip the test for platforms which don't enable memory-mapped I/O in SQLite, |
// or which don't even support the pragma. The former seems to apply to iOS, |
@@ -1375,5 +1376,6 @@ TEST_F(SQLConnectionTest, MmapTest) { |
ASSERT_EQ('4', m.data()[kOffset]); |
} |
} |
+#endif |
} // namespace |