Skip to content

Commit

Permalink
[[TEST]] Ignore "information" messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike authored and rwaldron committed Jun 6, 2019
1 parent a70304d commit e04746b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/test262/expectations.txt
Expand Up @@ -115,12 +115,6 @@ test/annexB/language/function-code/switch-dflt-func-skip-early-err.js(default)
test/annexB/language/expressions/object/__proto__-duplicate.js(default)
test/annexB/language/expressions/object/__proto__-duplicate.js(strict mode)
test/annexB/language/statements/for-in/nonstrict-initializer.js(default)
test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR-LF.js(default)
test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR-LF.js(strict mode)
test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR.js(default)
test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR.js(strict mode)
test/built-ins/Function/prototype/toString/line-terminator-normalisation-LF.js(default)
test/built-ins/Function/prototype/toString/line-terminator-normalisation-LF.js(strict mode)
test/built-ins/Function/prototype/toString/unicode.js(default)
test/built-ins/Function/prototype/toString/unicode.js(strict mode)
test/built-ins/RegExp/S15.10.7_A2_T1.js(default)
Expand Down Expand Up @@ -157,10 +151,6 @@ test/language/asi/S7.9_A6.1_T8.js(default)
test/language/asi/S7.9_A6.1_T8.js(strict mode)
test/language/asi/S7.9_A6.1_T9.js(default)
test/language/asi/S7.9_A6.1_T9.js(strict mode)
test/language/asi/S7.9_A7_T8.js(default)
test/language/asi/S7.9_A7_T8.js(strict mode)
test/language/asi/S7.9_A7_T9.js(default)
test/language/asi/S7.9_A7_T9.js(strict mode)
test/language/global-code/export.js(default)
test/language/global-code/export.js(strict mode)
test/language/global-code/import.js(default)
Expand Down
2 changes: 2 additions & 0 deletions tests/test262/test.js
Expand Up @@ -38,6 +38,8 @@ function isFailure(errors) {
return errors && !!find(errors, function(msg) {
if (msg.code[0] === "W") {
return msg.code in incorrectSeverity;
} else if (msg.code[0] === "I") {
return false;
}

return !(msg.code in incorrectSeverity);
Expand Down

0 comments on commit e04746b

Please sign in to comment.