Skip to content

Commit b66f01d

Browse files
committed
test: skip test-cpu-prof in debug builds with code cache
The CPU profiler crashes in debug builds when code cache is enabled. Skip the test temporarily until it's fixed. PR-URL: #27308 Refs: #27307 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Gus Caplan <[email protected]>
1 parent e0e3084 commit b66f01d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/sequential/test-cpu-prof.js

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
// This tests that --cpu-prof and --cpu-prof-path works.
44

55
const common = require('../common');
6+
if (process.features.debug &&
7+
process.config.variables.node_code_cache_path === 'yes') {
8+
// FIXME(joyeecheung): the profiler crashes when code cache
9+
// is enabled in debug builds.
10+
common.skip('--cpu-prof does not work in debug builds with code cache');
11+
}
12+
613
const fixtures = require('../common/fixtures');
714
common.skipIfInspectorDisabled();
815

0 commit comments

Comments
 (0)