Skip to content

Commit a4acf08

Browse files
committed
Just: fix ram option for codeql test run
1 parent 812fc23 commit a4acf08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misc/just/codeql-test-run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function invoke(invocation: string[], options: {cwd?: string, log_prefix?: strin
1212
} catch (error) {
1313
return 1;
1414
}
15-
return 0;
15+
return 0;
1616
}
1717

1818
type Args = {
@@ -55,7 +55,7 @@ function codeqlTestRun(argv: string[]): number {
5555
let args: Args = {
5656
tests: [],
5757
flags: [
58-
`--ram=${ram_per_thread}`,
58+
`--ram=${ram_per_thread * cpus}`,
5959
`-j${cpus}`,
6060
],
6161
env: [],

0 commit comments

Comments
 (0)