diff --git a/test/common/sea.js b/test/common/sea.js index f7819c365db9d5..13a9a4a615cbe3 100644 --- a/test/common/sea.js +++ b/test/common/sea.js @@ -27,7 +27,7 @@ function skipIfSingleExecutableIsNotSupported() { if (!['darwin', 'win32', 'linux'].includes(process.platform)) common.skip(`Unsupported platform ${process.platform}.`); - if (process.platform === 'linux' && process.config.variables.is_debug === 1) + if (process.platform === 'linux' && common.isDebug) common.skip('Running the resultant binary fails with `Couldn\'t read target executable"`.'); if (process.config.variables.node_shared)