<?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>49740</bug_id>
          
          <creation_ts>2010-11-18 10:14:48 -0800</creation_ts>
          <short_desc>[NRWT] &apos;--new-baseline&apos; doesn&apos;t work</short_desc>
          <delta_ts>2010-11-18 14:07:03 -0800</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>PC</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hayato Ito">hayato</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>hamaji</cc>
    
    <cc>mihaip</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>310917</commentid>
    <comment_count>0</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-11-18 10:14:48 -0800</bug_when>
    <thetext>Including the &apos;--new-baseline&apos; flag in new-run-webkit-test causes the script to fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310919</commentid>
    <comment_count>1</comment_count>
      <attachid>74249</attachid>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-11-18 10:18:21 -0800</bug_when>
    <thetext>Created attachment 74249
fix-new-baseline</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310922</commentid>
    <comment_count>2</comment_count>
      <attachid>74249</attachid>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-11-18 10:21:22 -0800</bug_when>
    <thetext>Comment on attachment 74249
fix-new-baseline

Thanks for the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310929</commentid>
    <comment_count>3</comment_count>
      <attachid>74249</attachid>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-11-18 10:29:16 -0800</bug_when>
    <thetext>Comment on attachment 74249
fix-new-baseline

Clearing flags on attachment: 74249

Committed r72307: &lt;http://trac.webkit.org/changeset/72307&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310930</commentid>
    <comment_count>4</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-11-18 10:29:24 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>311020</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-11-18 11:52:48 -0800</bug_when>
    <thetext>I was wondering why the unit tests didn&apos;t catch this ... of course, we disabled them because they wrote to the real file system :( I really need to land the patches in 48072.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>311023</commentid>
    <comment_count>6</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-11-18 11:57:55 -0800</bug_when>
    <thetext>As far as I remember, I ran ./WebKitTools/Scripts/test-webkit-scripts and it passed all tests.
Could you tell me how do you guys run tests about new-run-webkit-tests?

(In reply to comment #5)
&gt; I was wondering why the unit tests didn&apos;t catch this ... of course, we disabled them because they wrote to the real file system :( I really need to land the patches in 48072.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>311091</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-11-18 14:07:03 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; As far as I remember, I ran ./WebKitTools/Scripts/test-webkit-scripts and it passed all tests.
&gt; Could you tell me how do you guys run tests about new-run-webkit-tests?
&gt; 

That would be sufficient. Like I said, the tests that would&apos;ve caught at least part of this were disabled (and had bit-rotted accordingly). The new patch will bring them back online.

Typically I run a script I have that just runs the subset of test-webkitpy that includes the tests under layout_tests/*, and if that passes, then I&apos;ll usually run test-webkitpy to be sure nothing weird happened.

I have some other patches to test-webkitpy that should make things a little better so that I don&apos;t my separate script, and of course the patch above will allow test-webkitpy to complete in ~ 4 seconds, so that&apos;ll help, too.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>74249</attachid>
            <date>2010-11-18 10:18:21 -0800</date>
            <delta_ts>2010-11-18 10:29:16 -0800</delta_ts>
            <desc>fix-new-baseline</desc>
            <filename>bug-49740-20101119031820.patch</filename>
            <type>text/plain</type>
            <size>1629</size>
            <attacher name="Hayato Ito">hayato</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCAyMTNjOWJhYTc2NDE2MzY3NDk3OTZlNTQ4M2RlNTM5YmFmNTRjNjg3Li45YzFiZGI1
YWIzZWRmYTYwYjk0Mzg5YThlZjJkM2NmNjlhZDVkYjFhIDEwMDY0NAotLS0gYS9XZWJLaXRUb29s
cy9DaGFuZ2VMb2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAK
KzIwMTAtMTEtMTggIEhheWF0byBJdG8gIDxoYXlhdG9AY2hyb21pdW0ub3JnPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtOUldUXSBGaXggYSBicmVh
ayBvZiAnLS1uZXctYmFzZWxpbmUnIGZlYXR1cmUgd2hpY2ggaXMgY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vdCBldmVyIGRlY29kZSBpdCBpbnNpZGUgcnVuLXdl
YmtpdC10ZXN0cy4gIEZvciBzb21lIHRlc3RzCiAgICAgICAgICAgICAjIER1bXBSZW5kZXJUcmVl
IG1heSBub3Qgb3V0cHV0IHV0Zi04IHRleHQgKGUuZy4gd2ViYXJjaGl2ZXMpLgotICAgICAgICAg
ICAgc2VsZi5fc2F2ZV9iYXNlbGluZV9kYXRhKGZpbGVuYW1lLCBvdXRwdXQsICIudHh0IiwgZW5j
b2Rpbmc9Tm9uZSwKKyAgICAgICAgICAgIHNlbGYuX3NhdmVfYmFzZWxpbmVfZGF0YShmaWxlbmFt
ZSwgYWN0dWFsX3Rlc3Rfb3V0cHV0LnRleHQsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIi50eHQiLCBlbmNvZGluZz1Ob25lLAogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIGdlbmVyYXRlX25ld19iYXNlbGluZT10ZXN0X2FyZ3MubmV3X2Jhc2VsaW5l
KQogICAgICAgICAgICAgcmV0dXJuIGZhaWx1cmVzCiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>