Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e69e5f

Browse files
legendecasmarco-ippolito
authored andcommitted
test: skip sea tests in large debug builds
In debug builds, the node binary could exceed 2GB and can not be read bypostject.PR-URL:#53918Refs:nodejs/reliability#922Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent4c36d6c commit2e69e5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎test/common/sea.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ function skipIfSingleExecutableIsNotSupported() {
5050
common.skip('UndefinedBehavior Sanitizer is not supported');
5151
}
5252

53+
try{
54+
readFileSync(process.execPath);
55+
}catch(e){
56+
if(e.code==='ERR_FS_FILE_TOO_LARGE'){
57+
common.skip('The Node.js binary is too large to be supported by postject');
58+
}
59+
}
60+
5361
tmpdir.refresh();
5462

5563
// The SEA tests involve making a copy of the executable and writing some fixtures

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp