Index: test/cctest/libplatform/test-tracing.cc |
diff --git a/test/cctest/libplatform/test-tracing.cc b/test/cctest/libplatform/test-tracing.cc |
index 6189ed2dfc6df375f056ba1da3879e9af3bd2d18..5dc6b965f16c48af1fc47ea64557d07c4c1452ad 100644 |
--- a/test/cctest/libplatform/test-tracing.cc |
+++ b/test/cctest/libplatform/test-tracing.cc |
@@ -25,6 +25,14 @@ TEST(TestTraceConfig) { |
CHECK_EQ(trace_config->IsCategoryGroupEnabled( |
TRACE_DISABLED_BY_DEFAULT("v8.runtime")), |
true); |
+ CHECK_EQ(trace_config->IsCategoryGroupEnabled("v8,v8.cpu_profile"), true); |
+ CHECK_EQ( |
+ trace_config->IsCategoryGroupEnabled("v8,disabled-by-default-v8.runtime"), |
+ true); |
+ CHECK_EQ(trace_config->IsCategoryGroupEnabled( |
+ "v8_cpu_profile,v8.cpu_profile.hires"), |
+ false); |
+ |
delete trace_config; |
} |