[webkit-reviews] review granted: [Bug 185492] Support --verbose in run-javascriptcore-tests : [Attachment 340033] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 10 00:20:53 PDT 2018


Daniel Bates <dbates at webkit.org> has granted Stephan Szabo
<stephan.szabo at sony.com>'s request for review:
Bug 185492: Support --verbose in run-javascriptcore-tests
https://bugs.webkit.org/show_bug.cgi?id=185492

Attachment 340033: Patch

https://bugs.webkit.org/attachment.cgi?id=340033&action=review




--- Comment #2 from Daniel Bates <dbates at webkit.org> ---
Comment on attachment 340033
  --> https://bugs.webkit.org/attachment.cgi?id=340033
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=340033&action=review

> Tools/Scripts/run-javascriptcore-tests:235
> +  --verbose: 		   Print more things while running. (can be
specified multiple times)

Looking at the existing usage descriptions in this file and in test-webkitpy we
seem to incorporate the parentheses into the first sentence instead of in
another sentence, taking inspiration from test-webkitpy I would write this as:

Verbose output (specify more than once to increase verbosity).

> Tools/Scripts/run-javascriptcore-tests:524
> +	   push(@jscStressDriverCmd, ("--verbose") x $verbose)

Missing ‘;’ at the end of this line. Not sure how this ran without an
error/warning. We prefer to write single body if blocks using one line:

push(@jscStressDriverCmd, ("--verbose") x $verbose) if ($verbose > 0);


More information about the webkit-reviews mailing list