Update test262 to latest commit and enable mapping for features

Also added an automated check for new features which are not mapped or ignored
This commit is contained in:
Daniel Tschinder
2018-11-03 00:13:31 -07:00
committed by Nicolò Ribaudo
parent d35563ee1a
commit 1d4d760ffc
4 changed files with 1106 additions and 5 deletions

View File

@@ -105,6 +105,20 @@ Promise.all([utils.getTests(testDir), utils.getWhitelist(whitelistFile)])
} else {
process.exitCode = summary.passed ? 0 : 1;
}
const unmappedFeatures = utils.getUnmappedFeatures();
if (unmappedFeatures.size) {
console.log("");
console.log(
"The following Features are not currently mapped or ignored:"
);
console.log(
Array.from(unmappedFeatures)
.join("\n")
.replace(/^/gm, " ")
);
}
})
.catch(function(err) {
console.error(err);