-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Run build_tests on Windows * CHANGELOG
- Loading branch information
Showing
17 changed files
with
170 additions
and
214 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
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 |
---|---|---|
@@ -1,14 +1,18 @@ | ||
var p = require("child_process"); | ||
var assert = require("assert"); | ||
var { rescript_exe } = require("#cli/bin_path"); | ||
var { normalizeNewlines } = require("../utils.js"); | ||
|
||
var o = p.spawnSync(rescript_exe, { encoding: "utf8", cwd: __dirname }); | ||
|
||
if ( | ||
![ | ||
`Error: Invalid bsconfig.json implementation and interface have different path names or different cases src/demo vs src/Demo\n`, | ||
// On linux files are parsed in different order | ||
// Windows: path separator | ||
`Error: Invalid bsconfig.json implementation and interface have different path names or different cases src\\demo vs src\\Demo\n`, | ||
// Linux: files are parsed in different order | ||
`Error: Invalid bsconfig.json implementation and interface have different path names or different cases src/Demo vs src/demo\n`, | ||
].includes(o.stderr) | ||
].includes(normalizeNewlines(o.stderr)) | ||
) { | ||
assert.fail(o.stderr); | ||
} |
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 |
---|---|---|
@@ -1,14 +1,18 @@ | ||
var p = require("child_process"); | ||
var assert = require("assert"); | ||
var { rescript_exe } = require("#cli/bin_path"); | ||
var { normalizeNewlines } = require("../utils.js"); | ||
|
||
var o = p.spawnSync(rescript_exe, { encoding: "utf8", cwd: __dirname }); | ||
|
||
if ( | ||
![ | ||
`Error: Invalid bsconfig.json implementation and interface have different path names or different cases src/X vs src/x\n`, | ||
// On linux files are parsed in different order | ||
// Windows: path separator | ||
`Error: Invalid bsconfig.json implementation and interface have different path names or different cases src\\X vs src\\x\n`, | ||
// Linux: files are parsed in different order | ||
`Error: Invalid bsconfig.json implementation and interface have different path names or different cases src/x vs src/X\n`, | ||
].includes(o.stderr) | ||
].includes(normalizeNewlines(o.stderr)) | ||
) { | ||
assert.fail(o.stderr); | ||
} |
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
Oops, something went wrong.