RESOLVED FIXED 104975
Callers should not have to stringify args before calling Executive run_command/popen
https://bugs.webkit.org/show_bug.cgi?id=104975
Summary Callers should not have to stringify args before calling Executive run_comman...
Eric Seidel (no email)
Reported 2012-12-13 16:32:31 PST
Callers should not have to stringify args before calling Executive run_command/popen
Attachments
Patch (5.38 KB, patch)
2012-12-13 16:35 PST, Eric Seidel (no email)
no flags
Patch (6.31 KB, patch)
2012-12-13 17:08 PST, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2012-12-13 16:35:29 PST
Eric Seidel (no email)
Comment 2 2012-12-13 16:36:13 PST
%test-webkitpy Suppressing most webkitpy logging while running unit tests. Skipping tests in the following modules or packages because they are really, really, slow: webkitpy.common.checkout.scm.scm_unittest (https://bugs.webkit.org/show_bug.cgi?id=31818; use --all to include) [99/1610] webkitpy.common.checkout.baselineoptimizer_unittest.BaselineOptimizerTest.test_chromium_covers_mac_win_linux (+10)Failure: No such entity Failure: No such entity Failure: No such entity Ran 1610 tests in 3.019s OK
Dirk Pranke
Comment 3 2012-12-13 16:43:58 PST
Comment on attachment 179373 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=179373&action=review Can you verify that NRWT actually runs w/ this patch, since it broke last time trying to start the http server? > Tools/Scripts/webkitpy/common/system/executive.py:390 > + args = self._stringify_args(args) You can probably now simplify _command_for_printing(), yes?
Eric Seidel (no email)
Comment 4 2012-12-13 16:47:48 PST
Comment on attachment 179373 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=179373&action=review >> Tools/Scripts/webkitpy/common/system/executive.py:390 >> + args = self._stringify_args(args) > > You can probably now simplify _command_for_printing(), yes? You mean because I can now always assume unicode? (It turns out we always could before too.)
Dirk Pranke
Comment 5 2012-12-13 16:50:25 PST
(In reply to comment #4) > (From update of attachment 179373 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=179373&action=review > > >> Tools/Scripts/webkitpy/common/system/executive.py:390 > >> + args = self._stringify_args(args) > > > > You can probably now simplify _command_for_printing(), yes? > > You mean because I can now always assume unicode? (It turns out we always could before too.) yes.
Eric Seidel (no email)
Comment 6 2012-12-13 17:08:24 PST
Dirk Pranke
Comment 7 2012-12-13 17:11:23 PST
Comment on attachment 179380 [details] Patch ok.
WebKit Review Bot
Comment 8 2012-12-13 17:59:07 PST
Comment on attachment 179380 [details] Patch Clearing flags on attachment: 179380 Committed r137692: <http://trac.webkit.org/changeset/137692>
WebKit Review Bot
Comment 9 2012-12-13 17:59:11 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.