<?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>133780</bug_id>
          
          <creation_ts>2014-06-11 18:12:45 -0700</creation_ts>
          <short_desc>[GTK] Performance tests should be always ran with WKTR</short_desc>
          <delta_ts>2014-06-12 05:53:59 -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>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>berto</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
    
    <cc>rego</cc>
    
    <cc>rniwa</cc>
    
    <cc>svillar</cc>
    
    <cc>timothy</cc>
    
    <cc>zan</cc>
    
    <cc>zoltan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1015003</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-06-11 18:12:45 -0700</bug_when>
    <thetext>The GTK port only supports WebKit2.

Therefore the --webkit-test-runner/-2 switch for Tools/Scripts/run-perf-tests should be always enabled on this platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015004</commentid>
    <comment_count>1</comment_count>
      <attachid>232926</attachid>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-06-11 18:18:51 -0700</bug_when>
    <thetext>Created attachment 232926
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015019</commentid>
    <comment_count>2</comment_count>
      <attachid>232926</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-06-11 22:13:43 -0700</bug_when>
    <thetext>Comment on attachment 232926
Patch

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

&gt; Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py:71
&gt; +        # The GTK+ port only supports WebKit2, so it always uses WKTR.
&gt; +        if self._port.name().startswith(&quot;gtk&quot;):
&gt; +            self._options.webkit_test_runner = True

Should we split out some warning about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015048</commentid>
    <comment_count>3</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2014-06-12 00:18:44 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 232926 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=232926&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py:71
&gt; &gt; +        # The GTK+ port only supports WebKit2, so it always uses WKTR.
&gt; &gt; +        if self._port.name().startswith(&quot;gtk&quot;):
&gt; &gt; +            self._options.webkit_test_runner = True
&gt; 
&gt; Should we split out some warning about this?

For example right now &quot;run-launcher --gtk -2&quot; fails and returns:
Starting webkit launcher.
Cannot parse arguments: Unknown option -2

I don&apos;t know what&apos;s the best approach, maybe simply showing a warning and using always WebKit2 is the best option.
But I think we should be consistent and do the same in: run-launcher, run-webkit-tests and run-perf-tests. Of course, this can be done in different patches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015082</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-06-12 04:47:07 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (From update of attachment 232926 [details] [details])
&gt; &gt; View in context: https://bugs.webkit.org/attachment.cgi?id=232926&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py:71
&gt; &gt; &gt; +        # The GTK+ port only supports WebKit2, so it always uses WKTR.
&gt; &gt; &gt; +        if self._port.name().startswith(&quot;gtk&quot;):
&gt; &gt; &gt; +            self._options.webkit_test_runner = True
&gt; &gt; 
&gt; &gt; Should we split out some warning about this?
&gt; 
&gt; For example right now &quot;run-launcher --gtk -2&quot; fails and returns:
&gt; Starting webkit launcher.
&gt; Cannot parse arguments: Unknown option -2
&gt; 
&gt; I don&apos;t know what&apos;s the best approach, maybe simply showing a warning and using always WebKit2 is the best option.
&gt; But I think we should be consistent and do the same in: run-launcher, run-webkit-tests and run-perf-tests. Of course, this can be done in different patches.


The bots are going to keep passing &quot;--webkit-test-runner/-2&quot; because that is how are implemented the steps on Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg Making it fail when &quot;-2/--webkit-test-runner&quot; is passed will break the bots.

And I&apos;m not sure about the usefulness of showing a warning. run-webkit-tests also uses WKTR always with GTK+ and no warning is shown: &lt;http://trac.webkit.org/changeset/167426&gt;. So I think the current patch is consistent with that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015087</commentid>
    <comment_count>5</comment_count>
      <attachid>232926</attachid>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2014-06-12 05:23:30 -0700</bug_when>
    <thetext>Comment on attachment 232926
Patch

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

&gt;&gt;&gt;&gt; Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py:71
&gt;&gt;&gt;&gt; +            self._options.webkit_test_runner = True
&gt;&gt;&gt; 
&gt;&gt;&gt; Should we split out some warning about this?
&gt;&gt; 
&gt;&gt; For example right now &quot;run-launcher --gtk -2&quot; fails and returns:
&gt;&gt; Starting webkit launcher.
&gt;&gt; Cannot parse arguments: Unknown option -2
&gt;&gt; 
&gt;&gt; I don&apos;t know what&apos;s the best approach, maybe simply showing a warning and using always WebKit2 is the best option.
&gt;&gt; But I think we should be consistent and do the same in: run-launcher, run-webkit-tests and run-perf-tests. Of course, this can be done in different patches.
&gt; 
&gt; The bots are going to keep passing &quot;--webkit-test-runner/-2&quot; because that is how are implemented the steps on Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg Making it fail when &quot;-2/--webkit-test-runner&quot; is passed will break the bots.
&gt; 
&gt; And I&apos;m not sure about the usefulness of showing a warning. run-webkit-tests also uses WKTR always with GTK+ and no warning is shown: &lt;http://trac.webkit.org/changeset/167426&gt;. So I think the current patch is consistent with that.

Ok, fair enough. I didn&apos;t realize run-webkit-tests was fixed already.

Maybe we could change run-launcher to use WebKit2 by default and not fail (maybe showing a warning in that particular case).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015096</commentid>
    <comment_count>6</comment_count>
      <attachid>232926</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-06-12 05:53:54 -0700</bug_when>
    <thetext>Comment on attachment 232926
Patch

Clearing flags on attachment: 232926

Committed r169893: &lt;http://trac.webkit.org/changeset/169893&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015097</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-06-12 05:53:59 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>232926</attachid>
            <date>2014-06-11 18:18:51 -0700</date>
            <delta_ts>2014-06-12 05:53:54 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-133780-20140612031825.patch</filename>
            <type>text/plain</type>
            <size>1673</size>
            <attacher name="Carlos Alberto Lopez Perez">clopez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTY5ODY3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMjBmODY4M2EwZTg4MDIxODg3ZmFkN2Y5YmJlOTA2YWZm
OTM5ZWE4NC4uYjdlOTBhZDU4YzI2MzJhY2U5MzIwMDliMTA0N2Y3NjA4NDQwOGNhMiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0
IEBACisyMDE0LTA2LTExICBDYXJsb3MgQWxiZXJ0byBMb3BleiBQZXJleiAgPGNsb3BlekBpZ2Fs
aWEuY29tPgorCisgICAgICAgIFtHVEtdIFBlcmZvcm1hbmNlIHRlc3RzIHNob3VsZCBiZSBhbHdh
eXMgcmFuIHdpdGggV0tUUi4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19i
dWcuY2dpP2lkPTEzMzc4MAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgor
CisgICAgICAgICogU2NyaXB0cy93ZWJraXRweS9wZXJmb3JtYW5jZV90ZXN0cy9wZXJmdGVzdHNy
dW5uZXIucHk6CisgICAgICAgIChQZXJmVGVzdHNSdW5uZXIuX19pbml0X18pOiBFbmFibGUgd2Vi
a2l0X3Rlc3RfcnVubmVyIHdoZW4gcG9ydAorICAgICAgICBpcyBHVEsuCisKIDIwMTQtMDYtMTEg
IFNpbW9uIEZyYXNlciAgPHNpbW9uLmZyYXNlckBhcHBsZS5jb20+CiAKICAgICAgICAgV1RSIGNs
ZWFudXA6IHB1c2ggcGVyLXRlc3Qgdmlld3BvcnQgY29uZmlndXJhdGlvbiBpbnRvI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