mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
make sure we don't run es6 test262 tests
This commit is contained in:
parent
9a4bf15d84
commit
423a317abd
8
scripts/test262.js
Normal file → Executable file
8
scripts/test262.js
Normal file → Executable 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();
|
||||
});
|
||||
// });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user