The memory size test makes no sense on the simulated platforms.

Review URL: http://codereview.chromium.org/8818007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10173 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
erik.corry@gmail.com 2011-12-06 12:09:11 +00:00
parent c78825991a
commit c5c6cc5284

View File

@ -454,7 +454,10 @@ TEST(EmptyObjectGroups) {
}
#ifdef __linux__
// Here is a memory use test that uses /proc, and is therefore Linux-only. We
// do not care how much memory the simulator uses, since it is only there for
// debugging purposes.
#if defined(__linux__) && !defined(USE_SIMULATOR)
static uintptr_t ReadLong(char* buffer, intptr_t* position, int base) {
@ -532,4 +535,4 @@ TEST(BootUpMemoryUse) {
}
}
#endif // __linux__
#endif // __linux__ and !USE_SIMULATOR