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

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

Issue 418173010: Publish the location of archived results dashboard.html to user. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing printing_unittest failure 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
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/layout_tests/views/printing_unittest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
83 self._print_default("View the archived results dashboard at file://% s/dashboard.html" % results_directory)
84
82 # FIXME: should these options be in printing_options? 85 # FIXME: should these options be in printing_options?
83 if self._options.new_baseline: 86 if self._options.new_baseline:
84 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())
85 88
86 fs = self._port.host.filesystem 89 fs = self._port.host.filesystem
87 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 ()]
88 self._print_default("Baseline search path: %s -> generic" % " -> ".join( fallback_path)) 91 self._print_default("Baseline search path: %s -> generic" % " -> ".join( fallback_path))
89 92
90 self._print_default("Using %s build" % self._options.configuration) 93 self._print_default("Using %s build" % self._options.configuration)
91 if self._options.pixel_tests: 94 if self._options.pixel_tests:
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 self._meter.write_throttled_update(msg) 427 self._meter.write_throttled_update(msg)
425 428
426 def write_update(self, msg): 429 def write_update(self, msg):
427 self._meter.write_update(msg) 430 self._meter.write_update(msg)
428 431
429 def writeln(self, msg): 432 def writeln(self, msg):
430 self._meter.writeln(msg) 433 self._meter.writeln(msg)
431 434
432 def flush(self): 435 def flush(self):
433 self._meter.flush() 436 self._meter.flush()
OLDNEW
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/layout_tests/views/printing_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698