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

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_package/failure_finder.py

Issue 545145: Move the layout test scripts into a 'webkitpy' subdirectory in preparation... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: try to de-confuse svn and the try bots Created 10 years, 11 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # TODO(gwilson): 1. Change text differs to use external utils. 5 # TODO(gwilson): 1. Change text differs to use external utils.
6 # 2. Change text_expectations parsing to existing 6 # 2. Change text_expectations parsing to existing
7 # logic in layout_pagckage.test_expectations. 7 # logic in layout_pagckage.test_expectations.
8 8
9 import difflib 9 import difflib
10 import errno 10 import errno
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 localFile.write(webFile.read()) 883 localFile.write(webFile.read())
884 webFile.close() 884 webFile.close()
885 localFile.close() 885 localFile.close()
886 os.chmod(local_filename, 0777) 886 os.chmod(local_filename, 0777)
887 except urllib2.HTTPError: 887 except urllib2.HTTPError:
888 return None 888 return None
889 except urllib2.URLError: 889 except urllib2.URLError:
890 print "The url %s is malformed." % url 890 print "The url %s is malformed." % url
891 return None 891 return None
892 return localFile.name 892 return localFile.name
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698