<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>190537</bug_id>
          
          <creation_ts>2018-10-12 14:27:39 -0700</creation_ts>
          <short_desc>[Tools][webkitpy] fix handling of JSCTESTS_OPTIONS</short_desc>
          <delta_ts>2018-10-12 16:28:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="jsc-armv7 EWS">guijemont+jsc-armv7-ews</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>guijemont</cc>
    
    <cc>lforschler</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1468576</commentid>
    <comment_count>0</comment_count>
    <who name="jsc-armv7 EWS">guijemont+jsc-armv7-ews</who>
    <bug_when>2018-10-12 14:27:39 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468590</commentid>
    <comment_count>1</comment_count>
      <attachid>352204</attachid>
    <who name="Guillaume Emont">guijemont</who>
    <bug_when>2018-10-12 14:31:52 -0700</bug_when>
    <thetext>Created attachment 352204
Patch

The patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468602</commentid>
    <comment_count>2</comment_count>
    <who name="jsc-armv7 EWS">guijemont+jsc-armv7-ews</who>
    <bug_when>2018-10-12 14:40:27 -0700</bug_when>
    <thetext>(In reply to Guillaume Emont from comment #1)
&gt; Created attachment 352204 [details]
&gt; Patch
&gt; 
&gt; The patch.

I think (hope) the jsc-armv7 EWS should get green if this works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468617</commentid>
    <comment_count>3</comment_count>
    <who name="jsc-armv7 EWS">guijemont+jsc-armv7-ews</who>
    <bug_when>2018-10-12 14:59:15 -0700</bug_when>
    <thetext>(In reply to Guillaume Emont (jsc-armv7-ews) from comment #2)
&gt; (In reply to Guillaume Emont from comment #1)
&gt; &gt; Created attachment 352204 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; The patch.
&gt; 
&gt; I think (hope) the jsc-armv7 EWS should get green if this works.

...Except webkitpy changes are skipped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468629</commentid>
    <comment_count>4</comment_count>
      <attachid>352204</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-10-12 15:09:20 -0700</bug_when>
    <thetext>Comment on attachment 352204
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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468638</commentid>
    <comment_count>5</comment_count>
    <who name="jsc-armv7 EWS">guijemont+jsc-armv7-ews</who>
    <bug_when>2018-10-12 15:26:59 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #4)
&gt; Comment on attachment 352204 [details]
&gt; Patch
&gt; 
&gt; The patch looks good.
&gt; 
&gt; I’m not so sure about the idea of passing options via environment. The port
&gt; object is supposed to implement the knowledge of how to run tools, and
&gt; passing arguments verbatim violates incapsulation. 
&gt; 
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468639</commentid>
    <comment_count>6</comment_count>
    <who name="jsc-armv7 EWS">guijemont+jsc-armv7-ews</who>
    <bug_when>2018-10-12 15:28:34 -0700</bug_when>
    <thetext>(In reply to Guillaume Emont (jsc-armv7-ews) from comment #5)
&gt; (In reply to Alexey Proskuryakov from comment #4)
&gt; &gt; Comment on attachment 352204 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; The patch looks good.
&gt; &gt; 
&gt; &gt; I’m not so sure about the idea of passing options via environment. The port
&gt; &gt; object is supposed to implement the knowledge of how to run tools, and
&gt; &gt; passing arguments verbatim violates incapsulation. 
&gt; &gt; 
&gt; &gt; Why was this approach chosen?
&gt; 
&gt; The goal is to be able to pass a --remote-config-file option so that
&gt; run-javascriptcore-tests runs the test on the correct devices, which are
&gt; dependent on the machine where it is run and not on the port.

Also, I&apos;d love if that could be a parameter to webkit-patch &lt;name of ews queue&gt;, but I could not find a simple way to do that, and saw that there was a precedent with MAKEFLAGS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468697</commentid>
    <comment_count>7</comment_count>
      <attachid>352204</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-10-12 16:27:55 -0700</bug_when>
    <thetext>Comment on attachment 352204
Patch

Clearing flags on attachment: 352204

Committed r237089: &lt;https://trac.webkit.org/changeset/237089&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468698</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-10-12 16:27:57 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468699</commentid>
    <comment_count>9</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-10-12 16:28:26 -0700</bug_when>
    <thetext>&lt;rdar://problem/45241227&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>352204</attachid>
            <date>2018-10-12 14:31:52 -0700</date>
            <delta_ts>2018-10-12 16:27:55 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-190537-20181012233151.patch</filename>
            <type>text/plain</type>
            <size>1640</size>
            <attacher name="Guillaume Emont">guijemont</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM3MDc0CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggYzM5MzU0NmI4MDVmNWExZTJkMjNhOWRkZDE1MzIzNDEz
ZjMzM2ZjOC4uN2NjNWU3NjUwZmFiZWMyZDc0NTMyNDI2OWE0ZTA0ZDA4MTIzZmE5MCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3
IEBACisyMDE4LTEwLTEyICBHdWlsbGF1bWUgRW1vbnQgIDxndWlqZW1vbnRAaWdhbGlhLmNvbT4K
KworICAgICAgICBbVG9vbHNdW3dlYmtpdHB5XSBmaXggaGFuZGxpbmcgb2YgSlNDVEVTVFNfT1BU
SU9OUworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTkw
NTM3CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgSW4g
RGVwcmVjYXRlZFBvcnQucnVuX2phdmFzY3Jp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