make sure we don't run es6 test262 tests

This commit is contained in:
Gordon Williams 2015-08-27 11:22:11 +01:00
parent 9a4bf15d84
commit 423a317abd

8
scripts/test262.js Normal file → Executable file
View File

@ -50,6 +50,10 @@ function runTest(path, callback) {
console.log("Not run because of Unicode");
return callback();
}
if (test.indexOf("es6id:")>=0) {
console.log("Not run because for ES6");
return callback();
}
var negative;
if (test.indexOf("/*---")>0) {
@ -108,9 +112,9 @@ function recurse(dir, callback) {
function test262(dir, callback) {
recurse(dir+"/language", function() {
recurse(dir+"/built-ins", function() {
// recurse(dir+"/built-ins", function() {
callback();
});
// });
});
}