test: fix Linux debug skip in SEA test guard · nodejs/node@29f010f · GitHub
Skip to content

Commit 29f010f

Browse files
guhyunwooaduh95
authored andcommitted
test: fix Linux debug skip in SEA test guard
process.config.variables.is_debug is only populated by the GN build flow (tools/generate_config_gypi.py), so on the gyp builds used by CI the guard never fired and SEA tests ran on Linux debug builds against the original intent. Switch to process.config.target_defaults.default_configuration === 'Debug', matching the pattern used in test/common/index.js. Fixes: #63749 Refs: #61483 Signed-off-by: Hyunwoo Gu <realization0327@gmail.com> PR-URL: #63751 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent fda8ee8 commit 29f010f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/common/sea.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)