Add tests of CODEQL_RUNNER env var
This commit is contained in:
parent
c796788c33
commit
2f9814894f
6 changed files with 59 additions and 4 deletions
3
lib/tracer-config.js
generated
3
lib/tracer-config.js
generated
|
|
@ -145,7 +145,8 @@ async function getCombinedTracerConfig(config, codeql) {
|
|||
// on order to trace when System Integrity Protection is enabled.
|
||||
// The exectuable also exists and works for other platforms so we output this env
|
||||
// var with a path to the runner regardless so it's always available.
|
||||
mainTracerConfig.env["CODEQL_RUNNER"] = path.join(mainTracerConfig.env["CODEQL_DIST"], "tools", mainTracerConfig.env["CODEQL_PLATFORM"], "runner");
|
||||
const runnerExeName = process.platform === "win32" ? "runner.exe" : "runner";
|
||||
mainTracerConfig.env["CODEQL_RUNNER"] = path.join(mainTracerConfig.env["CODEQL_DIST"], "tools", mainTracerConfig.env["CODEQL_PLATFORM"], runnerExeName);
|
||||
return mainTracerConfig;
|
||||
}
|
||||
exports.getCombinedTracerConfig = getCombinedTracerConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue