Skip to content

Commit bd71cdf

Browse files
committed
test: use common.buildType in embedding test
This un-breaks testing in the case of `./configure --debug-node`. Backport-PR-URL: #35241 PR-URL: #32422 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent bdf6d41 commit bd71cdf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/embedding/test-embedding.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ const child_process = require('child_process');
66
const path = require('path');
77

88
common.allowGlobals(global.require);
9-
let binary = process.features.debug ?
10-
'out/Debug/embedtest' : 'out/Release/embedtest';
9+
let binary = `out/${common.buildType}/embedtest`;
1110
if (common.isWindows) {
1211
binary += '.exe';
1312
}

0 commit comments

Comments
 (0)