Skip to content
Permalink
Browse files

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 <anna@addaleax.net>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
  • Loading branch information...
joyeecheung committed Apr 19, 2019
1 parent e0e3084 commit b66f01d9037a120a8aad624c57e769fb418ccd9c
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/sequential/test-cpu-prof.js
@@ -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();

0 comments on commit b66f01d

Please sign in to comment.
You can’t perform that action at this time.