Index: runtime/vm/metrics_test.cc |
diff --git a/runtime/vm/metrics_test.cc b/runtime/vm/metrics_test.cc |
index cb204b91848b8ba66054727bb39230e830ed9e0b..1e99b2d9b1c94caa76f45e905bce557712e5cfcc 100644 |
--- a/runtime/vm/metrics_test.cc |
+++ b/runtime/vm/metrics_test.cc |
@@ -13,6 +13,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
UNIT_TEST_CASE(Metric_Simple) { |
Dart_CreateIsolate( |
NULL, NULL, bin::isolate_snapshot_buffer, NULL, NULL, NULL); |
@@ -69,4 +71,6 @@ UNIT_TEST_CASE(Metric_OnDemand) { |
Dart_ShutdownIsolate(); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |