-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI: try test on Windows. * noalloc * try newline * more on tests * Turn windows tests back off.
- Loading branch information
1 parent
19c74f5
commit 389dd68
Showing
3 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const fs = require("fs"); | ||
const child_process = require("child_process"); | ||
const path = require("path"); | ||
|
||
const spawn = child_process.spawn; | ||
|
||
const isWindows = /^win/i.test(process.platform); | ||
|
||
const reanalyzeNativePath = path.join( | ||
__dirname, | ||
"../../_build/default/src/Reanalyze.exe" | ||
); | ||
|
||
const shell = isWindows ? true : false; | ||
|
||
child_process.spawnSync( | ||
reanalyzeNativePath, | ||
["-ci", "-noalloc"], | ||
{ | ||
stdio: ["inherit", "inherit"], | ||
shell, | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters