Skip to content

Commit

Permalink
make test262 success on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea authored and marijnh committed Apr 13, 2020
1 parent ec7cbd1 commit 82ed10d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/run_test262.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ run(
{
testsDirectory: path.dirname(require.resolve("test262/package.json")),
skip: test => (test.attrs.features && unsupportedFeatures.some(f => test.attrs.features.includes(f))),
whitelist: fs.readFileSync("./bin/test262.whitelist", "utf8").split("\n").filter(v => v)
whitelist: fs.readFileSync("./bin/test262.whitelist", "utf8")
.split("\n")
.filter(Boolean)
.map(filename => path.sep !== "/" ? filename.split("/").join(path.sep) : filename)
}
)

0 comments on commit 82ed10d

Please sign in to comment.