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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/views/printing.py

Issue 489093002: Enabling archiving of test results by default in run-webkit-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 # Copyright (C) 2010, 2012 Google Inc. All rights reserved. 1 # Copyright (C) 2010, 2012 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 self._meter.cleanup() 72 self._meter.cleanup()
73 73
74 def __del__(self): 74 def __del__(self):
75 self.cleanup() 75 self.cleanup()
76 76
77 def print_config(self, results_directory): 77 def print_config(self, results_directory):
78 self._print_default("Using port '%s'" % self._port.name()) 78 self._print_default("Using port '%s'" % self._port.name())
79 self._print_default("Test configuration: %s" % self._port.test_configura tion()) 79 self._print_default("Test configuration: %s" % self._port.test_configura tion())
80 self._print_default("View the test results at file://%s/results.html" % results_directory) 80 self._print_default("View the test results at file://%s/results.html" % results_directory)
81 81
82 if self._options.enable_versioned_results: 82 if self._options.archive_results:
83 self._print_default("View the archived results dashboard at file://% s/dashboard.html" % results_directory) 83 self._print_default("View the archived results dashboard at file://% s/dashboard.html" % results_directory)
84 84
85 # FIXME: should these options be in printing_options? 85 # FIXME: should these options be in printing_options?
86 if self._options.new_baseline: 86 if self._options.new_baseline:
87 self._print_default("Placing new baselines in %s" % self._port.basel ine_path()) 87 self._print_default("Placing new baselines in %s" % self._port.basel ine_path())
88 88
89 fs = self._port.host.filesystem 89 fs = self._port.host.filesystem
90 fallback_path = [fs.split(x)[1] for x in self._port.baseline_search_path ()] 90 fallback_path = [fs.split(x)[1] for x in self._port.baseline_search_path ()]
91 self._print_default("Baseline search path: %s -> generic" % " -> ".join( fallback_path)) 91 self._print_default("Baseline search path: %s -> generic" % " -> ".join( fallback_path))
92 92
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 self._meter.write_throttled_update(msg) 427 self._meter.write_throttled_update(msg)
428 428
429 def write_update(self, msg): 429 def write_update(self, msg):
430 self._meter.write_update(msg) 430 self._meter.write_update(msg)
431 431
432 def writeln(self, msg): 432 def writeln(self, msg):
433 self._meter.writeln(msg) 433 self._meter.writeln(msg)
434 434
435 def flush(self): 435 def flush(self):
436 self._meter.flush() 436 self._meter.flush()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698