OLD | NEW |
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 Loading... |
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 Loading... |
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() |
OLD | NEW |