<?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>37588</bug_id>
          
          <creation_ts>2010-04-14 11:21:01 -0700</creation_ts>
          <short_desc>Make new-run-webkit-tests work for the Qt port</short_desc>
          <delta_ts>2010-04-21 04:04:41 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</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>
          <dependson>37765</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>212449</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-04-14 11:21:01 -0700</bug_when>
    <thetext>Make new-run-webkit-tests work for the Qt port</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212453</commentid>
    <comment_count>1</comment_count>
      <attachid>53346</attachid>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-04-14 11:23:01 -0700</bug_when>
    <thetext>Created attachment 53346
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212465</commentid>
    <comment_count>2</comment_count>
      <attachid>53346</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-14 11:33:53 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

Technically we use &quot; instead of &apos; (or try to in our python).

Eventually we need to set up a self._built_bin_path for the linux ports since both DumpRenderTree and ImageDiff will have this trouble.  For Qt it&apos;s &quot;bin&quot;, for Gtk its &quot;Programs&quot;, migth as well share the code.  But we can come back and do that later.

How does this detect the right configuration?  I still owe Adam Barth a patch to have WebKit.default_configuration read from $BUILD_DIR/Configuration instead of the current path hack that it does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212466</commentid>
    <comment_count>3</comment_count>
      <attachid>53346</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-14 11:34:29 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

I don&apos;t want to stand in your way, so r+, but consider the above comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212496</commentid>
    <comment_count>4</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-04-14 12:34:39 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 53346 [details])
&gt; Technically we use &quot; instead of &apos; (or try to in our python).

Noted.

&gt; Eventually we need to set up a self._built_bin_path for the linux ports since
&gt; both DumpRenderTree and ImageDiff will have this trouble.  For Qt it&apos;s &quot;bin&quot;,
&gt; for Gtk its &quot;Programs&quot;, migth as well share the code.  But we can come back and
&gt; do that later.

You mean something that returns the suffix (&quot;bin&quot;, &quot;Programs&quot;), or the full path, so that both the Qt and Gtk port implementations would concat _build_path() and the suffix?

Happy to do either as part of this patch just to make it cleaner.

&gt; How does this detect the right configuration?  I still owe Adam Barth a patch
&gt; to have WebKit.default_configuration read from $BUILD_DIR/Configuration instead
&gt; of the current path hack that it does.

It&apos;s not picking up custom configurations, but at least on Linux webkit-build-directory actually works for Debug vs Release, so hard coding to &quot;Release&quot; seems wrong in hindsight.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212528</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-14 13:21:36 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; &gt; Eventually we need to set up a self._built_bin_path for the linux ports since
&gt; &gt; both DumpRenderTree and ImageDiff will have this trouble.  For Qt it&apos;s &quot;bin&quot;,
&gt; &gt; for Gtk its &quot;Programs&quot;, migth as well share the code.  But we can come back and
&gt; &gt; do that later.
&gt; 
&gt; You mean something that returns the suffix (&quot;bin&quot;, &quot;Programs&quot;), or the full
&gt; path, so that both the Qt and Gtk port implementations would concat
&gt; _build_path() and the suffix?

I had figured a _build_path replacement for the places that have more specific needs.

like _built_bin_path(&quot;DumpRenderTree&quot;) would be the call for all ports, and on linux ports that would make the right _build_path(&quot;bin&quot;, *components) call, but on normal ports it would just call _build_path(*components).  Don&apos;t know.  Hadn&apos;t written it yet.  It&apos;s not essential for this change and is somethign we can clean up later when we have more data about our uses.

&gt; It&apos;s not picking up custom configurations, but at least on Linux
&gt; webkit-build-directory actually works for Debug vs Release, so hard coding to
&gt; &quot;Release&quot; seems wrong in hindsight.

Sounds good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212531</commentid>
    <comment_count>6</comment_count>
      <attachid>53346</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-14 13:22:06 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

Thanks for the added explanation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212790</commentid>
    <comment_count>7</comment_count>
      <attachid>53346</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-15 02:44:09 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

Rejecting patch 53346 from commit-queue.

Unexpected failure when landing patch!  Please file a bug against webkit-patch.
Failed to run &quot;[&apos;WebKitTools/Scripts/webkit-patch&apos;, &apos;--status-host=webkit-commit-queue.appspot.com&apos;, &apos;land-attachment&apos;, &apos;--force-clean&apos;, &apos;--build&apos;, &apos;--test&apos;, &apos;--non-interactive&apos;, &apos;--ignore-builders&apos;, &apos;--build-style=both&apos;, &apos;--quiet&apos;, &apos;53346&apos;, &apos;--parent-command=commit-queue&apos;, &apos;--no-update&apos;]&quot; exit_code: 1
Last 500 characters of output:
&apos;, &apos;commit&apos;, &apos;--all&apos;, &apos;-F&apos;, &apos;-&apos;], input=message)
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/webkitpy/common/system/executive.py&quot;, line 85, in run_command
    return Executive().run_command(*args, **kwargs)
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/webkitpy/common/system/executive.py&quot;, line 186, in run_command
    string_to_communicate = str(input)
UnicodeEncodeError: &apos;ascii&apos; codec can&apos;t encode character u&apos;\xf8&apos; in position 26: ordinal not in range(128)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213339</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-16 11:53:05 -0700</bug_when>
    <thetext>Sorry again Tor.  I&apos;ll fix this today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214165</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-19 12:24:10 -0700</bug_when>
    <thetext>Sorry.  If bug 37765 isn&apos;t landed today, I&apos;ll land this change by hand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214561</commentid>
    <comment_count>10</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-04-20 03:58:02 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; Sorry again Tor.  I&apos;ll fix this today.
It would be good, because webkit-patch hates me too. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214894</commentid>
    <comment_count>11</comment_count>
      <attachid>53346</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-20 12:57:42 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

Sorry again for the trouble.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215228</commentid>
    <comment_count>12</comment_count>
      <attachid>53346</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-21 03:48:59 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

The fix for bug 37765 was rolled out.  So this will fail to land.  Hopefully I&apos;ll reland the fix tomorrow at which point I&apos;ll cq+ this again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215234</commentid>
    <comment_count>13</comment_count>
      <attachid>53346</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-21 04:03:31 -0700</bug_when>
    <thetext>Comment on attachment 53346
Patch

Clearing flags on attachment: 53346

Committed r57965: &lt;http://trac.webkit.org/changeset/57965&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215235</commentid>
    <comment_count>14</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-21 04:03:42 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215236</commentid>
    <comment_count>15</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-21 04:04:41 -0700</bug_when>
    <thetext>I just went ahead and landed it by hand (using my locally fixed copy of webkit-patch).  Again, apologies for the trouble.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53346</attachid>
            <date>2010-04-14 11:23:01 -0700</date>
            <delta_ts>2010-04-21 04:03:30 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-37588-20100414142259.patch</filename>
            <type>text/plain</type>
            <size>1448</size>
            <attacher name="Tor Arne Vestbø">vestbo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0N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vd2Via2l0cHkvbGF5b3V0X3Rlc3RzL3Bv
cnQvcXQucHkKQEAgLTMxLDYgKzMxLDcgQEAKIGltcG9ydCBsb2dnaW5nCiBpbXBvcnQgb3MKIGlt
cG9ydCBzdWJwcm9jZXNzCitpbXBvcnQgc2lnbmFsCiAKIGZyb20gd2Via2l0cHkubGF5b3V0X3Rl
c3RzLnBvcnQud2Via2l0IGltcG9ydCBXZWJLaXRQb3J0CiAKQEAgLTkwLDYgKzkxLDkgQEAgY2xh
c3MgUXRQb3J0KFdlYktpdFBvcnQpOgogICAgICAgICAgICAgICAgICMgJ2tpbGxhbGwnIHdlYiBz
ZXJ2ZXJzLgogICAgICAgICAgICAgICAgIHNlbGYuX3NodXRfZG93bl9odHRwX3NlcnZlcihOb25l
KQogCi0gICAgZGVmIGRlZmF1bHRfY29uZmlndXJhdGlvbihzZWxmKToKLSAgICAgICAgIyBGSVhN
RTogRG8gdGhpcyBwcm9wZXJseQotICAgICAgICByZXR1cm4gIlJlbGVhc2UiCisgICAgZGVmIF9i
dWlsZF9kcml2ZXIoc2VsZik6CisgICAgICAgICMgVGhlIFF0IHBvcnQgYnVpbGRzIERSVCBhcyBw
YXJ0IG9mIHRoZSBtYWluIGJ1aWxkIHN0ZXAKKyAgICAgICAgcmV0dXJuIFRydWUKKworICAgIGRl
ZiBfcGF0aF90b19kcml2ZXIoc2VsZik6CisgICAgICAgIHJldHVybiBzZWxmLl9idWlsZF9wYXRo
KCdiaW4vRHVtcFJlbmRlclRyZWUnKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>