Commit 8968087b authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Disable SysInfoTest.AmountOfPhysicalMemory on NaCl.

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/499263003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23447 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a81ab7af
......@@ -5,6 +5,12 @@
#include "src/base/sys-info.h"
#include "testing/gtest/include/gtest/gtest.h"
#if V8_OS_NACL
#define DISABLE_ON_NACL(Name) DISABLED_##Name
#else
#define DISABLE_ON_NACL(Name) Name
#endif
namespace v8 {
namespace base {
......@@ -13,7 +19,7 @@ TEST(SysInfoTest, NumberOfProcessors) {
}
TEST(SysInfoTest, AmountOfPhysicalMemory) {
TEST(SysInfoTest, DISABLE_ON_NACL(AmountOfPhysicalMemory)) {
EXPECT_LT(0, SysInfo::AmountOfPhysicalMemory());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment