WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
190537
[Tools][webkitpy] fix handling of JSCTESTS_OPTIONS
https://bugs.webkit.org/show_bug.cgi?id=190537
Summary
[Tools][webkitpy] fix handling of JSCTESTS_OPTIONS
jsc-armv7 EWS
Reported
2018-10-12 14:27:39 PDT
In DeprecatedPort.run_javascriptcore_tests_command() JSCTESTS_OPTIONS needs to be split before adding it to the command since it is treated as a list of args.
Attachments
Patch
(1.60 KB, patch)
2018-10-12 14:31 PDT
,
Guillaume Emont
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Guillaume Emont
Comment 1
2018-10-12 14:31:52 PDT
Created
attachment 352204
[details]
Patch The patch.
jsc-armv7 EWS
Comment 2
2018-10-12 14:40:27 PDT
(In reply to Guillaume Emont from
comment #1
)
> Created
attachment 352204
[details]
> Patch > > The patch.
I think (hope) the jsc-armv7 EWS should get green if this works.
jsc-armv7 EWS
Comment 3
2018-10-12 14:59:15 PDT
(In reply to Guillaume Emont (jsc-armv7-ews) from
comment #2
)
> (In reply to Guillaume Emont from
comment #1
) > > Created
attachment 352204
[details]
> > Patch > > > > The patch. > > I think (hope) the jsc-armv7 EWS should get green if this works.
...Except webkitpy changes are skipped.
Alexey Proskuryakov
Comment 4
2018-10-12 15:09:20 PDT
Comment on
attachment 352204
[details]
Patch The patch looks good. I’m not so sure about the idea of passing options via environment. The port object is supposed to implement the knowledge of how to run tools, and passing arguments verbatim violates incapsulation. Why was this approach chosen?
jsc-armv7 EWS
Comment 5
2018-10-12 15:26:59 PDT
(In reply to Alexey Proskuryakov from
comment #4
)
> Comment on
attachment 352204
[details]
> Patch > > The patch looks good. > > I’m not so sure about the idea of passing options via environment. The port > object is supposed to implement the knowledge of how to run tools, and > passing arguments verbatim violates incapsulation. > > Why was this approach chosen?
The goal is to be able to pass a --remote-config-file option so that run-javascriptcore-tests runs the test on the correct devices, which are dependent on the machine where it is run and not on the port.
jsc-armv7 EWS
Comment 6
2018-10-12 15:28:34 PDT
(In reply to Guillaume Emont (jsc-armv7-ews) from
comment #5
)
> (In reply to Alexey Proskuryakov from
comment #4
) > > Comment on
attachment 352204
[details]
> > Patch > > > > The patch looks good. > > > > I’m not so sure about the idea of passing options via environment. The port > > object is supposed to implement the knowledge of how to run tools, and > > passing arguments verbatim violates incapsulation. > > > > Why was this approach chosen? > > The goal is to be able to pass a --remote-config-file option so that > run-javascriptcore-tests runs the test on the correct devices, which are > dependent on the machine where it is run and not on the port.
Also, I'd love if that could be a parameter to webkit-patch <name of ews queue>, but I could not find a simple way to do that, and saw that there was a precedent with MAKEFLAGS.
WebKit Commit Bot
Comment 7
2018-10-12 16:27:55 PDT
Comment on
attachment 352204
[details]
Patch Clearing flags on attachment: 352204 Committed
r237089
: <
https://trac.webkit.org/changeset/237089
>
WebKit Commit Bot
Comment 8
2018-10-12 16:27:57 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2018-10-12 16:28:26 PDT
<
rdar://problem/45241227
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug