Index: runtime/vm/cpuinfo_test.cc |
diff --git a/runtime/vm/cpuinfo_test.cc b/runtime/vm/cpuinfo_test.cc |
index 0b6113b75b9b2567d510f76454ee8777237f2011..2b587f1a534af9a486743b7fc1589fdc733ec19d 100644 |
--- a/runtime/vm/cpuinfo_test.cc |
+++ b/runtime/vm/cpuinfo_test.cc |
@@ -9,11 +9,13 @@ |
namespace dart { |
+#if !defined(TARGET_ARCH_DBC) |
zra
2016/04/08 22:37:34
Can this be enabled?
Vyacheslav Egorov (Google)
2016/04/11 10:49:10
It can be, but it's a very meaningless test for SI
|
UNIT_TEST_CASE(GetCpuModelTest) { |
const char* cpumodel = CpuInfo::GetCpuModel(); |
EXPECT_NE(strlen(cpumodel), 0UL); |
// caller is responsible for deleting the returned cpumodel string. |
free(const_cast<char*>(cpumodel)); |
} |
+#endif |
} // namespace dart |