Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2666)

Unified Diff: base/android/library_loader/library_prefetcher_unittest.cc

Issue 1534613002: Disable NativeLibraryPrefetcherTest tests that use mincore() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/library_loader/library_prefetcher_unittest.cc
diff --git a/base/android/library_loader/library_prefetcher_unittest.cc b/base/android/library_loader/library_prefetcher_unittest.cc
index 4ea1631264de4b3430d4872fadfa1dc71c1072f7..633058abb43212ba657e9343ef2c73412b6705e1 100644
--- a/base/android/library_loader/library_prefetcher_unittest.cc
+++ b/base/android/library_loader/library_prefetcher_unittest.cc
@@ -94,7 +94,7 @@ TEST(NativeLibraryPrefetcherTest,
EXPECT_EQ(ranges[0].second, 0x7U);
}
-TEST(NativeLibraryPrefetcherTest, TestPercentageOfResidentCode) {
+TEST(NativeLibraryPrefetcherTest, DISABLED_TestPercentageOfResidentCode) {
size_t length = 4 * kPageSize;
base::SharedMemory shared_mem;
ASSERT_TRUE(shared_mem.CreateAndMapAnonymous(length));
@@ -115,7 +115,8 @@ TEST(NativeLibraryPrefetcherTest, TestPercentageOfResidentCode) {
munlock(address, length);
}
-TEST(NativeLibraryPrefetcherTest, TestPercentageOfResidentCodeTwoRegions) {
+TEST(NativeLibraryPrefetcherTest,
+ DISABLED_TestPercentageOfResidentCodeTwoRegions) {
size_t length = 4 * kPageSize;
base::SharedMemory shared_mem;
ASSERT_TRUE(shared_mem.CreateAndMapAnonymous(length));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698