Revision: 23447
Author: [email protected]
Date: Wed Aug 27 10:37:54 2014 UTC
Log: Disable SysInfoTest.AmountOfPhysicalMemory on NaCl.
[email protected]
Review URL: https://codereview.chromium.org/499263003
https://code.google.com/p/v8/source/detail?r=23447
Modified:
/branches/bleeding_edge/test/base-unittests/sys-info-unittest.cc
=======================================
--- /branches/bleeding_edge/test/base-unittests/sys-info-unittest.cc Wed
Aug 27 08:29:22 2014 UTC
+++ /branches/bleeding_edge/test/base-unittests/sys-info-unittest.cc Wed
Aug 27 10:37:54 2014 UTC
@@ -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, AmountOfPhysicalMemory) {
+TEST(SysInfoTest, DISABLE_ON_NACL(AmountOfPhysicalMemory)) {
EXPECT_LT(0, SysInfo::AmountOfPhysicalMemory());
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.