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

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_package/json_results_generator.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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 import logging 5 import logging
6 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 import time 9 import time
10 import urllib2 10 import urllib2
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 # Remove all passes/no-data from the results to reduce noise and 381 # Remove all passes/no-data from the results to reduce noise and
382 # filesize. If a test passes every run, but takes > MIN_TIME to run, 382 # filesize. If a test passes every run, but takes > MIN_TIME to run,
383 # don't throw away the data. 383 # don't throw away the data.
384 if is_all_no_data or (is_all_pass and max_time <= self.MIN_TIME): 384 if is_all_no_data or (is_all_pass and max_time <= self.MIN_TIME):
385 del tests[test_name] 385 del tests[test_name]
386 386
387 def _IsResultsAllOfType(self, results, type): 387 def _IsResultsAllOfType(self, results, type):
388 """Returns whether all the results are of the given type 388 """Returns whether all the results are of the given type
389 (e.g. all passes).""" 389 (e.g. all passes)."""
390 return len(results) == 1 and results[0][1] == type 390 return len(results) == 1 and results[0][1] == type
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698