| Index: test/test262-es6/testcfg.py
|
| diff --git a/test/test262-es6/testcfg.py b/test/test262-es6/testcfg.py
|
| index 0519dc0e0ecb7cd17ff6be40e2a65eb40ac7a25b..5ea8f2bdb21b9913809082513ff629604a56bc87 100644
|
| --- a/test/test262-es6/testcfg.py
|
| +++ b/test/test262-es6/testcfg.py
|
| @@ -37,8 +37,8 @@ from testrunner.local import testsuite
|
| from testrunner.local import utils
|
| from testrunner.objects import testcase
|
|
|
| -TEST_262_ARCHIVE_REVISION = "43acf61" # This is the 2015-03-31 revision.
|
| -TEST_262_ARCHIVE_MD5 = "a77a0352a0462be98e50522a15b7a3c4"
|
| +TEST_262_ARCHIVE_REVISION = "6883892" # This is the 2015-05-30 revision.
|
| +TEST_262_ARCHIVE_MD5 = "527d617024c554bfa46ec19853ae4fc0"
|
| TEST_262_URL = "https://github.com/tc39/test262/tarball/%s"
|
| TEST_262_HARNESS_FILES = ["sta.js", "assert.js"]
|
|
|
| @@ -79,6 +79,16 @@ class Test262TestSuite(testsuite.TestSuite):
|
| self.GetIncludesForTest(testcase) + ["--harmony"] +
|
| [os.path.join(self.testroot, testcase.path + ".js")])
|
|
|
| + def VariantFlags(self, testcase, default_flags):
|
| + flags = super(Test262TestSuite, self).VariantFlags(testcase, default_flags)
|
| + test_record = self.GetTestRecord(testcase)
|
| + if "noStrict" in test_record:
|
| + return flags
|
| + strict_flags = [f + ["--use-strict"] for f in flags]
|
| + if "onlyStrict" in test_record:
|
| + return strict_flags
|
| + return flags + strict_flags
|
| +
|
| def LoadParseTestRecord(self):
|
| if not self.ParseTestRecord:
|
| root = os.path.join(self.root, *TEST_262_TOOLS_PATH)
|
|
|