diff options
Diffstat (limited to 'test/embedding/test-embedding.js')
-rw-r--r-- | test/embedding/test-embedding.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/embedding/test-embedding.js b/test/embedding/test-embedding.js index 43dab0ab24..ac50f22e86 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'; } |