diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-03-22 11:50:20 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-27 17:29:41 +0100 |
commit | c3204a8787452e3c3727353ab397de7ee407e5cb (patch) | |
tree | 7739555a5640e4ab8676c334b28ac53783a255be /test/embedding | |
parent | 6791ac0a472cdc968f8d97187c3a8a3d1b272341 (diff) | |
download | node-new-c3204a8787452e3c3727353ab397de7ee407e5cb.tar.gz |
test: use common.buildType in embedding test
This un-breaks testing in the case of `./configure --debug-node`.
PR-URL: https://github.com/nodejs/node/pull/32422
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/embedding')
-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'; } |