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) |
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 |