Changeset 137770 in webkit


Ignore:
Timestamp:
Dec 14, 2012, 2:13:54 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

"Running 1 DumpRenderTree over X shards" is not a helpful output
https://bugs.webkit.org/show_bug.cgi?id=104858

Reviewed by Dirk Pranke.

The word "shard" is not typically used in test frameworks. This word is confusing for many WebKit
contributors who typically don't have much experience on distributed computations and databases.
So only print this message out in the debug mode.

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
  • Scripts/webkitpy/layout_tests/views/printing.py:

(Printer.print_workers_and_shards):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r137714 r137770  
     12012-12-14  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        "Running 1 DumpRenderTree over X shards" is not a helpful output
     4        https://bugs.webkit.org/show_bug.cgi?id=104858
     5
     6        Reviewed by Dirk Pranke.
     7
     8        The word "shard" is not typically used in test frameworks. This word is confusing for many WebKit
     9        contributors who typically don't have much experience on distributed computations and databases.
     10        So only print this message out in the debug mode.
     11
     12        * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
     13        * Scripts/webkitpy/layout_tests/views/printing.py:
     14        (Printer.print_workers_and_shards):
     15
    1162012-12-13  Eric Seidel  <eric@webkit.org>
    217
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py

    r137621 r137770  
    318318        _, regular_output, _ = logging_run(['--debug-rwt-logging', '--child-processes', '2'], shared_port=False)
    319319        try:
    320             self.assertTrue(any(['(1 locked)' in line for line in regular_output.buflist]))
     320            self.assertTrue(any(['1 locked' in line for line in regular_output.buflist]))
    321321        finally:
    322322            if save_env_webkit_test_max_locked_shards:
  • trunk/Tools/Scripts/webkitpy/layout_tests/views/printing.py

    r137621 r137770  
    115115        driver_name = self._port.driver_name()
    116116        if num_workers == 1:
    117             self._print_default("Running 1 %s over %s." % (driver_name, grammar.pluralize('shard', num_shards)))
    118         else:
    119             self._print_default("Running %d %ss in parallel over %d shards (%d locked)." %
    120                 (num_workers, driver_name, num_shards, num_locked_shards))
     117            self._print_default("Running 1 %s." % driver_name)
     118            self._print_debug("(%s)." % grammar.pluralize('shard', num_shards))
     119        else:
     120            self._print_default("Running %d %ss in parallel." % (num_workers, driver_name))
     121            self._print_debug("(%d shards; %d locked)." % (num_shards, num_locked_shards))
    121122        self._print_default('')
    122123
Note: See TracChangeset for help on using the changeset viewer.