Created
August 22, 2018 17:20
-
-
Save xeioex/0ad564ce405b6c78883583e04d569885 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/test262.py b/src/test262.py | |
| index c92e5bf..a6247f5 100755 | |
| --- a/src/test262.py | |
| +++ b/src/test262.py | |
| @@ -302,7 +302,6 @@ class TestCase(object): | |
| return self.test | |
| source = self.suite.GetInclude("sta.js") + \ | |
| - self.suite.GetInclude("cth.js") + \ | |
| self.suite.GetInclude("assert.js") | |
| if self.IsAsyncTest(): | |
| @@ -491,7 +490,12 @@ class TestSuite(object): | |
| print 'Excluded: ' + basename | |
| else: | |
| if not self.non_strict_only: | |
| - strict_case = TestCase(self, name, full_path, True) | |
| + try: | |
| + strict_case = TestCase(self, name, full_path, True) | |
| + except TypeError as e: | |
| + print "Skipping:" + str(name) | |
| + continue | |
| + | |
| if not strict_case.IsNoStrict(): | |
| if strict_case.IsOnlyStrict() or \ | |
| self.unmarked_default in ['both', 'strict']: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment