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

Side by Side Diff: test/cctest/test-mark-compact.cc

Issue 735863003: Fix/suppress unittests broken on Android (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « test/cctest/cctest.status ('k') | test/unittests/base/platform/platform-unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 uintptr_t start = ReadLong(buffer, &position, 16); 439 uintptr_t start = ReadLong(buffer, &position, 16);
440 CHECK_EQ(buffer[position++], '-'); 440 CHECK_EQ(buffer[position++], '-');
441 uintptr_t end = ReadLong(buffer, &position, 16); 441 uintptr_t end = ReadLong(buffer, &position, 16);
442 CHECK_EQ(buffer[position++], ' '); 442 CHECK_EQ(buffer[position++], ' ');
443 CHECK(buffer[position] == '-' || buffer[position] == 'r'); 443 CHECK(buffer[position] == '-' || buffer[position] == 'r');
444 bool read_permission = (buffer[position++] == 'r'); 444 bool read_permission = (buffer[position++] == 'r');
445 CHECK(buffer[position] == '-' || buffer[position] == 'w'); 445 CHECK(buffer[position] == '-' || buffer[position] == 'w');
446 bool write_permission = (buffer[position++] == 'w'); 446 bool write_permission = (buffer[position++] == 'w');
447 CHECK(buffer[position] == '-' || buffer[position] == 'x'); 447 CHECK(buffer[position] == '-' || buffer[position] == 'x');
448 bool execute_permission = (buffer[position++] == 'x'); 448 bool execute_permission = (buffer[position++] == 'x');
449 CHECK(buffer[position] == '-' || buffer[position] == 'p'); 449 CHECK(buffer[position] == 's' || buffer[position] == 'p');
450 bool private_mapping = (buffer[position++] == 'p'); 450 bool private_mapping = (buffer[position++] == 'p');
451 CHECK_EQ(buffer[position++], ' '); 451 CHECK_EQ(buffer[position++], ' ');
452 uintptr_t offset = ReadLong(buffer, &position, 16); 452 uintptr_t offset = ReadLong(buffer, &position, 16);
453 USE(offset); 453 USE(offset);
454 CHECK_EQ(buffer[position++], ' '); 454 CHECK_EQ(buffer[position++], ' ');
455 uintptr_t major = ReadLong(buffer, &position, 16); 455 uintptr_t major = ReadLong(buffer, &position, 16);
456 USE(major); 456 USE(major);
457 CHECK_EQ(buffer[position++], ':'); 457 CHECK_EQ(buffer[position++], ':');
458 uintptr_t minor = ReadLong(buffer, &position, 16); 458 uintptr_t minor = ReadLong(buffer, &position, 16);
459 USE(minor); 459 USE(minor);
(...skipping 26 matching lines...) Expand all
486 486
487 487
488 TEST(RegressJoinThreadsOnIsolateDeinit) { 488 TEST(RegressJoinThreadsOnIsolateDeinit) {
489 intptr_t size_limit = ShortLivingIsolate() * 2; 489 intptr_t size_limit = ShortLivingIsolate() * 2;
490 for (int i = 0; i < 10; i++) { 490 for (int i = 0; i < 10; i++) {
491 CHECK_GT(size_limit, ShortLivingIsolate()); 491 CHECK_GT(size_limit, ShortLivingIsolate());
492 } 492 }
493 } 493 }
494 494
495 #endif // __linux__ and !USE_SIMULATOR 495 #endif // __linux__ and !USE_SIMULATOR
OLDNEW
« no previous file with comments | « test/cctest/cctest.status ('k') | test/unittests/base/platform/platform-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698