From 7a4d967069820a6e7ec8dbb7adfd202c002b6a94 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sun, 22 Mar 2020 11:50:20 +0100 Subject: [PATCH] test: use common.buildType in embedding test This un-breaks testing in the case of `./configure --debug-node`. --- test/embedding/test-embedding.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/embedding/test-embedding.js b/test/embedding/test-embedding.js index 43dab0ab24ea53..ac50f22e867de1 100644 --- a/test/embedding/test-embedding.js +++ b/test/embedding/test-embedding.js @@ -6,8 +6,7 @@ const child_process = require('child_process'); const path = require('path'); common.allowGlobals(global.require); -let binary = process.features.debug ? - 'out/Debug/embedtest' : 'out/Release/embedtest'; +let binary = `out/${common.buildType}/embedtest`; if (common.isWindows) { binary += '.exe'; }