Changeset 127688 in webkit
- Timestamp:
- Sep 5, 2012 9:37:42 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r127679 r127688 1 2012-09-05 Dirk Pranke <dpranke@chromium.org> 2 3 NRWT lies about the number of tests that it's skipping when used with --repeat-each 4 https://bugs.webkit.org/show_bug.cgi?id=95789 5 6 Reviewed by Ojan Vafai. 7 8 Fix miscalculation in log message. 9 10 * Scripts/webkitpy/layout_tests/views/printing.py: 11 (Printer.print_found): 12 1 13 2012-09-05 Kenichi Ishibashi <bashi@chromium.org> 2 14 -
trunk/Tools/Scripts/webkitpy/layout_tests/views/printing.py
r127478 r127688 110 110 111 111 def print_found(self, num_all_test_files, num_to_run, repeat_each, iterations): 112 found_str = 'Found %s; running %d' % (grammar.pluralize('test', num_all_test_files), num_to_run) 112 num_unique_tests = num_to_run / (repeat_each * iterations) 113 found_str = 'Found %s; running %d' % (grammar.pluralize('test', num_all_test_files), num_unique_tests) 113 114 if repeat_each * iterations > 1: 114 115 found_str += ' (%d times each: --repeat-each=%d --iterations=%d)' % (repeat_each * iterations, repeat_each, iterations) 115 found_str += ', skipping %d' % (num_all_test_files - num_ to_run)116 found_str += ', skipping %d' % (num_all_test_files - num_unique_tests) 116 117 self._print_default(found_str + '.') 117 118
Note: See TracChangeset
for help on using the changeset viewer.