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

Appearance settings

Commit 43677e5

Browse filesBrowse files
aduh95RafaelGSS
authored andcommitted
test: skip test depending on overlapped-checker when not available
PR-URL: #45015 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3519d74 commit 43677e5
Copy full SHA for 43677e5

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-child-process-stdio-overlapped.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-stdio-overlapped.js
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ const exeExtension = process.platform === 'win32' ? '.exe' : '';
3333
const exe = 'overlapped-checker' + exeExtension;
3434
const exePath = path.join(path.dirname(process.execPath), exe);
3535

36+
if (!require('fs').existsSync(exePath)) {
37+
common.skip(exe + ' binary is not available');
38+
}
39+
3640
const child = child_process.spawn(exePath, [], {
3741
stdio: ['overlapped', 'pipe', 'pipe']
3842
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.