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

Unified Diff: test/test262/testcfg.py

Issue 2227613002: [test] Deprecate test data download for most test suites (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/simdjs/testcfg.py ('k') | tools/run-tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test262/testcfg.py
diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py
index c4e2e5c112ab09229375b86656bcd18cba1d47cc..391b0e8c4f8119b3156240d09e3947aa054bd4b8 100644
--- a/test/test262/testcfg.py
+++ b/test/test262/testcfg.py
@@ -26,10 +26,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import hashlib
import imp
import os
-import shutil
import sys
import tarfile
@@ -208,21 +206,7 @@ class Test262TestSuite(testsuite.TestSuite):
return outcome != statusfile.FAIL
return not outcome in (testcase.outcomes or [statusfile.PASS])
- def DownloadData(self):
- print "Test262 download is deprecated. It's part of DEPS."
-
- # Clean up old directories and archive files.
- directory_old_name = os.path.join(self.root, "data.old")
- if os.path.exists(directory_old_name):
- shutil.rmtree(directory_old_name)
-
- archive_files = [f for f in os.listdir(self.root)
- if f.startswith("tc39-test262-")]
- if len(archive_files) > 0:
- print "Clobber outdated test archives ..."
- for f in archive_files:
- os.remove(os.path.join(self.root, f))
-
+ def PrepareSources(self):
# The archive is created only on swarming. Local checkouts have the
# data folder.
if os.path.exists(ARCHIVE) and not os.path.exists(DATA):
« no previous file with comments | « test/simdjs/testcfg.py ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698