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: https://github.com/nodejs/node/pull/27308 Refs: https://github.com/nodejs/node/issues/27307 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
This commit is contained in:
parent
e0e3084482
commit
b66f01d903
@ -3,6 +3,13 @@
|
||||
// This tests that --cpu-prof and --cpu-prof-path works.
|
||||
|
||||
const common = require('../common');
|
||||
if (process.features.debug &&
|
||||
process.config.variables.node_code_cache_path === 'yes') {
|
||||
// FIXME(joyeecheung): the profiler crashes when code cache
|
||||
// is enabled in debug builds.
|
||||
common.skip('--cpu-prof does not work in debug builds with code cache');
|
||||
}
|
||||
|
||||
const fixtures = require('../common/fixtures');
|
||||
common.skipIfInspectorDisabled();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user