<?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>68678</bug_id>
          
          <creation_ts>2011-09-22 21:47:02 -0700</creation_ts>
          <short_desc>Run TestWebKitAPI on Chromium buildbots</short_desc>
          <delta_ts>2011-09-29 19:24:50 -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>
          <dependson>68680</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Xianzhu Wang">wangxianzhu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>fishd</cc>
    
    <cc>levin</cc>
    
    <cc>peter</cc>
    
    <cc>rniwa</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>472065</commentid>
    <comment_count>0</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2011-09-22 21:47:02 -0700</bug_when>
    <thetext>Bug 67756 and bug 68206 let TestWebKitAPI work on Chromium. It&apos;s good to also have it run on Chromium buildbots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472100</commentid>
    <comment_count>1</comment_count>
      <attachid>108447</attachid>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2011-09-23 00:27:16 -0700</bug_when>
    <thetext>Created attachment 108447
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472288</commentid>
    <comment_count>2</comment_count>
      <attachid>108447</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2011-09-23 09:50:50 -0700</bug_when>
    <thetext>Comment on attachment 108447
patch

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

&gt; Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:640
&gt; +            or platform == &apos;chromium-mac&apos; or platform == &apos;chromium-win&apos; or platform == &apos;chromium-linux&apos;)

perhaps this should use platform.startswith(&apos;chromium-&apos;) instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472292</commentid>
    <comment_count>3</comment_count>
    <who name="Peter Beverloo">peter</who>
    <bug_when>2011-09-23 09:54:26 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 108447 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=108447&amp;action=review
&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:640
&gt; &gt; +            or platform == &apos;chromium-mac&apos; or platform == &apos;chromium-win&apos; or platform == &apos;chromium-linux&apos;)
&gt; 
&gt; perhaps this should use platform.startswith(&apos;chromium-&apos;) instead?

That wouldn&apos;t work for the Android bot, as it uses chromium-android as its platform identifier.

Maybe it would be better to add an exception for that bot, given that various other bots have &quot;chromium-cg-mac&quot; as its platform (even though we&apos;re switching to Skia).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472313</commentid>
    <comment_count>4</comment_count>
      <attachid>108447</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-09-23 10:33:19 -0700</bug_when>
    <thetext>Comment on attachment 108447
patch

r-&apos;ing based on review feedback.  I like Peter&apos;s suggestion (platform.startswith(&apos;chromium-&apos;) and platform != &apos;chromium-android&apos;)).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472750</commentid>
    <comment_count>5</comment_count>
      <attachid>108582</attachid>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2011-09-24 04:01:46 -0700</bug_when>
    <thetext>Created attachment 108582
patch v2 (requires the patch to bug 68680 to be landed first)

The new patch has only one difference from the suggested change: startswith(&apos;chromium&apos;) instead of startswith(&apos;chromium-&apos;) to keep consistent with other startwith() s in the file.

Note: this patch needs to be landed after the patch to bug 68680 otherwise it would break chromium-win buildbot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475189</commentid>
    <comment_count>6</comment_count>
      <attachid>108582</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-09-28 19:36:39 -0700</bug_when>
    <thetext>Comment on attachment 108582
patch v2 (requires the patch to bug 68680 to be landed first)

Clearing flags on attachment: 108582

Committed r96289: &lt;http://trac.webkit.org/changeset/96289&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475190</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-09-28 19:36:44 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475534</commentid>
    <comment_count>8</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-09-29 11:04:19 -0700</bug_when>
    <thetext>TestWebKitAPI has been failing on cr-win bots ever since it was enabled:
http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Tests%29</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475809</commentid>
    <comment_count>9</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2011-09-29 18:54:35 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; TestWebKitAPI has been failing on cr-win bots ever since it was enabled:
&gt; http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Tests%29

The log shows:

Running build-api-tests
&apos;Tools\Scripts\build-api-tests&apos; is not recognized as an internal or external command,
operable program or batch file.
Compiling TestWebKitAPI failed!

Why is &apos;Tools\Scripts\build-api-tests&apos; missing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475831</commentid>
    <comment_count>10</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2011-09-29 19:24:50 -0700</bug_when>
    <thetext>bug 69121. I think I&apos;ve found where the problem is.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>108447</attachid>
            <date>2011-09-23 00:27:16 -0700</date>
            <delta_ts>2011-09-24 04:01:46 -0700</delta_ts>
            <desc>patch</desc>
            <filename>67678</filename>
            <type>text/plain</type>
            <size>1704</size>
            <attacher name="Xianzhu Wang">wangxianzhu</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDk1Nzg3KQorKysgVG9vbHMvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMg
KzEsMTIgQEAKKzIwMTEtMDktMjMgIFhpYW56aHUgV2FuZyAgPHdhbmd4aWFuemh1QGNocm9taXVt
Lm9yZz4KKworICAgICAgICBSdW4gVGVzdFdlYktpdEFQSSBvbiBDaHJvbWl1bSBidWlsZGJvdHMK
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTY4Njc4CisK
KyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBCdWlsZFNs
YXZlU3VwcG9ydC9idWlsZC53ZWJraXQub3JnLWNvbmZpZy9tYXN0ZXIuY2ZnOgorCiAyMDExLTA5
LTIyICBEaXJrIFByYW5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aWdnZXJzKQogCiBkZWYgdW5pdFRl
c3RzU3VwcG9ydGVkKGNvbmZpZ3VyYXRpb24sIHBsYXRmb3JtKToKLSAgICByZXR1cm4gcGxhdGZv
cm0gPT0gJ3dpbicgb3IgKHBsYXRmb3JtLnN0YXJ0c3dpdGgoJ21hYycpIGFuZCBwbGF0Zm9ybSAh
PSAnbWFjLWxlb3BhcmQnKQorICAgIHJldHVybiAocGxhdGZvcm0gPT0gJ3dpbicgb3IgKHBsYXRm
b3JtLnN0YXJ0c3dpdGgoJ21hYycpIGFuZCBwbGF0Zm9ybSAhPSAnbWFjLWxlb3BhcmQnKQorICAg
ICAgICAgICAgb3IgcGxhdGZvcm0gPT0gJ2Nocm9taXVtLW1hYycgb3IgcGxhdGZvcm0gPT0gJ2No
cm9taXVtLXdpbicgb3IgcGxhdGZvcm0gPT0gJ2Nocm9taXVtLWxpbnV4JykKIAogY2xhc3MgVGVz
dEZhY3RvcnkoRmFjdG9yeSk6CiAgICAgVGVzdENsYXNzID0gUnVuV2ViS2l0VGVzdHMK
</data>
<flag name="review"
          id="105412"
          type_id="1"
          status="-"
          setter="tony"
    />
    <flag name="commit-queue"
          id="105413"
          type_id="3"
          status="-"
          setter="tony"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>108582</attachid>
            <date>2011-09-24 04:01:46 -0700</date>
            <delta_ts>2011-09-28 19:36:39 -0700</delta_ts>
            <desc>patch v2 (requires the patch to bug 68680 to be landed first)</desc>
            <filename>68678</filename>
            <type>text/plain</type>
            <size>1684</size>
            <attacher name="Xianzhu Wang">wangxianzhu</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDk1Nzg3KQorKysgVG9vbHMvQ2hhbm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