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): |