Skip to content

Instantly share code, notes, and snippets.

@xeioex
Created August 22, 2018 17:20
Show Gist options
  • Save xeioex/0ad564ce405b6c78883583e04d569885 to your computer and use it in GitHub Desktop.
Save xeioex/0ad564ce405b6c78883583e04d569885 to your computer and use it in GitHub Desktop.
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