Revision: 11324 Author: [email protected] Date: Mon Apr 16 02:05:32 2012 Log: Fix test262 harness to purge old data directory.
[email protected] Review URL: https://chromiumcodereview.appspot.com/10097006 http://code.google.com/p/v8/source/detail?r=11324 Modified: /branches/bleeding_edge/test/test262/testcfg.py ======================================= --- /branches/bleeding_edge/test/test262/testcfg.py Fri Apr 13 09:09:15 2012 +++ /branches/bleeding_edge/test/test262/testcfg.py Mon Apr 16 02:05:32 2012 @@ -104,9 +104,12 @@ archive_url = TEST_262_URL % revision archive_name = join(self.root, 'test262-%s.tar.bz2' % revision) directory_name = join(self.root, 'data') + directory_old_name = join(self.root, 'data.old') if not exists(archive_name): print "Downloading test data from %s ..." % archive_url urllib.urlretrieve(archive_url, archive_name) + if exists(directory_name): + os.rename(directory_name, directory_old_name) if not exists(directory_name): print "Extracting test262-%s.tar.bz2 ..." % revision md5 = hashlib.md5() -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
