Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: test/test262/testcfg.py

Issue 1391793002: Test262 roll to 2015-10-1 version (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 22 matching lines...) Expand all
33 import sys 33 import sys
34 import tarfile 34 import tarfile
35 35
36 36
37 from testrunner.local import statusfile 37 from testrunner.local import statusfile
38 from testrunner.local import testsuite 38 from testrunner.local import testsuite
39 from testrunner.local import utils 39 from testrunner.local import utils
40 from testrunner.objects import testcase 40 from testrunner.objects import testcase
41 41
42 # The revision hash needs to be 7 characters? 42 # The revision hash needs to be 7 characters?
43 TEST_262_ARCHIVE_REVISION = "6137f75" # This is the 2015-08-25 revision. 43 TEST_262_ARCHIVE_REVISION = "26e6fd7" # This is the 2015-10-1 revision.
44 TEST_262_ARCHIVE_MD5 = "c1eaf890d46e73d6c7e05ab21f76e668" 44 TEST_262_ARCHIVE_MD5 = "36fdd27f026f396234132fb5afdcfffb"
45 TEST_262_URL = "https://github.com/tc39/test262/tarball/%s" 45 TEST_262_URL = "https://github.com/tc39/test262/tarball/%s"
46 TEST_262_HARNESS_FILES = ["sta.js", "assert.js"] 46 TEST_262_HARNESS_FILES = ["sta.js", "assert.js"]
47 47
48 TEST_262_SUITE_PATH = ["data", "test"] 48 TEST_262_SUITE_PATH = ["data", "test"]
49 TEST_262_HARNESS_PATH = ["data", "harness"] 49 TEST_262_HARNESS_PATH = ["data", "harness"]
50 TEST_262_TOOLS_PATH = ["data", "tools", "packaging"] 50 TEST_262_TOOLS_PATH = ["data", "tools", "packaging"]
51 51
52 ALL_VARIANT_FLAGS_STRICT = dict( 52 ALL_VARIANT_FLAGS_STRICT = dict(
53 (v, [flags + ["--use-strict"] for flags in flag_sets]) 53 (v, [flags + ["--use-strict"] for flags in flag_sets])
54 for v, flag_sets in testsuite.ALL_VARIANT_FLAGS.iteritems() 54 for v, flag_sets in testsuite.ALL_VARIANT_FLAGS.iteritems()
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 # Magic incantation to allow longer path names on Windows. 234 # Magic incantation to allow longer path names on Windows.
235 archive.extractall(u"\\\\?\\%s" % self.root) 235 archive.extractall(u"\\\\?\\%s" % self.root)
236 else: 236 else:
237 archive.extractall(self.root) 237 archive.extractall(self.root)
238 os.rename(os.path.join(self.root, "tc39-test262-%s" % revision), 238 os.rename(os.path.join(self.root, "tc39-test262-%s" % revision),
239 directory_name) 239 directory_name)
240 240
241 241
242 def GetSuite(name, root): 242 def GetSuite(name, root):
243 return Test262TestSuite(name, root) 243 return Test262TestSuite(name, root)
OLDNEW
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698