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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 self._print_default("Using %s build" % self._options.configuration) | 93 self._print_default("Using %s build" % self._options.configuration) |
94 if self._options.pixel_tests: | 94 if self._options.pixel_tests: |
95 self._print_default("Pixel tests enabled") | 95 self._print_default("Pixel tests enabled") |
96 else: | 96 else: |
97 self._print_default("Pixel tests disabled") | 97 self._print_default("Pixel tests disabled") |
98 | 98 |
99 self._print_default("Regular timeout: %s, slow test timeout: %s" % | 99 self._print_default("Regular timeout: %s, slow test timeout: %s" % |
100 (self._options.time_out_ms, self._options.slow_time_out_ms)) | 100 (self._options.time_out_ms, self._options.slow_time_out_ms)) |
101 | 101 |
102 self._print_default('Sky server command line: ' + ' '.join(self._port.se
rver_command_line())) | |
103 self._print_default('Command line: ' + ' '.join(self._port.driver_cmd_li
ne())) | 102 self._print_default('Command line: ' + ' '.join(self._port.driver_cmd_li
ne())) |
104 self._print_default('') | 103 self._print_default('') |
105 | 104 |
106 def print_found(self, num_all_test_files, num_to_run, repeat_each, iteration
s): | 105 def print_found(self, num_all_test_files, num_to_run, repeat_each, iteration
s): |
107 found_str = 'Found %s; running %d' % (grammar.pluralize('test', num_all_
test_files), num_to_run) | 106 found_str = 'Found %s; running %d' % (grammar.pluralize('test', num_all_
test_files), num_to_run) |
108 if repeat_each * iterations > 1: | 107 if repeat_each * iterations > 1: |
109 found_str += ' (%d times each: --repeat-each=%d --iterations=%d)' %
(repeat_each * iterations, repeat_each, iterations) | 108 found_str += ' (%d times each: --repeat-each=%d --iterations=%d)' %
(repeat_each * iterations, repeat_each, iterations) |
110 found_str += ', skipping %d' % (num_all_test_files - num_to_run) | 109 found_str += ', skipping %d' % (num_all_test_files - num_to_run) |
111 self._print_default(found_str + '.') | 110 self._print_default(found_str + '.') |
112 | 111 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 self._meter.write_throttled_update(msg) | 427 self._meter.write_throttled_update(msg) |
429 | 428 |
430 def write_update(self, msg): | 429 def write_update(self, msg): |
431 self._meter.write_update(msg) | 430 self._meter.write_update(msg) |
432 | 431 |
433 def writeln(self, msg): | 432 def writeln(self, msg): |
434 self._meter.writeln(msg) | 433 self._meter.writeln(msg) |
435 | 434 |
436 def flush(self): | 435 def flush(self): |
437 self._meter.flush() | 436 self._meter.flush() |
OLD | NEW |