| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 71     def cleanup(self): | 71     def cleanup(self): | 
| 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         self._print_default("View the archived results dashboard at file://%s/da
     shboard.html" % results_directory) | 
| 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 | 
| 85         # FIXME: should these options be in printing_options? | 83         # FIXME: should these options be in printing_options? | 
| 86         if self._options.new_baseline: | 84         if self._options.new_baseline: | 
| 87             self._print_default("Placing new baselines in %s" % self._port.basel
     ine_path()) | 85             self._print_default("Placing new baselines in %s" % self._port.basel
     ine_path()) | 
| 88 | 86 | 
| 89         fs = self._port.host.filesystem | 87         fs = self._port.host.filesystem | 
| 90         fallback_path = [fs.split(x)[1] for x in self._port.baseline_search_path
     ()] | 88         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)) | 89         self._print_default("Baseline search path: %s -> generic" % " -> ".join(
     fallback_path)) | 
| 92 | 90 | 
| 93         self._print_default("Using %s build" % self._options.configuration) | 91         self._print_default("Using %s build" % self._options.configuration) | 
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 427         self._meter.write_throttled_update(msg) | 425         self._meter.write_throttled_update(msg) | 
| 428 | 426 | 
| 429     def write_update(self, msg): | 427     def write_update(self, msg): | 
| 430         self._meter.write_update(msg) | 428         self._meter.write_update(msg) | 
| 431 | 429 | 
| 432     def writeln(self, msg): | 430     def writeln(self, msg): | 
| 433         self._meter.writeln(msg) | 431         self._meter.writeln(msg) | 
| 434 | 432 | 
| 435     def flush(self): | 433     def flush(self): | 
| 436         self._meter.flush() | 434         self._meter.flush() | 
| OLD | NEW | 
|---|