<?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>63675</bug_id>
          
          <creation_ts>2011-06-29 17:53:58 -0700</creation_ts>
          <short_desc>new-run-webkit-tests should tell you when it creates new expectations</short_desc>
          <delta_ts>2011-06-30 16:26:30 -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>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="Adam Barth">abarth</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>430042</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-29 17:53:58 -0700</bug_when>
    <thetext>new-run-webkit-tests should tell you when it creates new expectations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430043</commentid>
    <comment_count>1</comment_count>
      <attachid>99196</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-29 17:55:07 -0700</bug_when>
    <thetext>Created attachment 99196
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430044</commentid>
    <comment_count>2</comment_count>
      <attachid>99196</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-06-29 17:57:21 -0700</bug_when>
    <thetext>Comment on attachment 99196
Patch

OK.  No way to test this with our current logging infrastructure I assume?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430064</commentid>
    <comment_count>3</comment_count>
      <attachid>99196</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-29 18:17:29 -0700</bug_when>
    <thetext>Comment on attachment 99196
Patch

Yeah, if I could figure out how to test it, I could figure how to stop it from spamming the console during testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430074</commentid>
    <comment_count>4</comment_count>
      <attachid>99196</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-29 18:30:34 -0700</bug_when>
    <thetext>Comment on attachment 99196
Patch

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

&gt; Tools/Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:194
&gt; +        _log.warning(&apos;Writing new expected result &quot;%s&quot;&apos; % result_name)

This should be log.info(); these aren&apos;t warnings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430092</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-06-29 19:02:10 -0700</bug_when>
    <thetext>Committed r90079: &lt;http://trac.webkit.org/changeset/90079&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430806</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-30 16:26:30 -0700</bug_when>
    <thetext>Oh, by the way, it occurred to me that if DRT happens to fail on a text-only test in such a way that dumpAsText() doesn&apos;t get called and we don&apos;t realize the test is test-only, then the code will incorrectly think that the image is missing and generate a new (wrong) baseline for it.

This probably doesn&apos;t happen all that often, but is an argument for --no-new-test-results being on by default.

Maybe this should be filed as a separate bug somewhere, but I&apos;m not sure how we can actually fix the DRT flaw so that we would know from NRWT&apos;s side definitively whether a test should be text-only or not.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>99196</attachid>
            <date>2011-06-29 17:55:07 -0700</date>
            <delta_ts>2011-06-29 18:32:12 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-63675-20110629175505.patch</filename>
            <type>text/plain</type>
            <size>1709</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDkwMDc1KQorKysgVG9vbHMvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMg
KzEsMTYgQEAKKzIwMTEtMDYtMjkgIEFkYW0gQmFydGggIDxhYmFydGhAd2Via2l0Lm9yZz4KKwor
ICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBuZXctcnVuLXdl
YmtpdC10ZXN0cyBzaG91bGQgdGVsbCB5b3Ugd2hlbiBpdCBjcmVhdGVzIG5ldyBleHBlY3RhdGlv
bnMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTYzNjc1
CisKKyAgICAgICAgVW5mb3J1bmF0ZWx5LCB0aGlzIHBhdGNoIGNyZWF0ZXMgYSBidW5jaCBvZiB0
ZXN0LXdlYmtpdHB5IHNwYW0gYmVjYXVzZQorICAgICAgICB3ZSBkb24ndCB1bmRlcnN0YW5kIGhv
dyBQeXRob24gbG9nZ2luZyB3b3JrcyB3ZWxsIGVub3VnaCB0byBzdG9wIHRoZQorICAgICAgICBz
cGFtLiAgOigKKworICAgICAgICAqIFNjcmlwdHMvd2Via2l0cHkvbGF5b3V0X3Rlc3RzL2xheW91
dF9wYWNrY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lYnVnKCdSZXNldHRpbmcgYmFzZWxpbmUg
cmVzdWx0ICIlcyInICUgb3V0cHV0X3BhdGgpCisKKyAgICAgICAgcmVzdWx0X25hbWUgPSBmcy5y
ZWxwYXRoKG91dHB1dF9wYXRoLCBwb3J0LmxheW91dF90ZXN0c19kaXIoKSkKKyAgICAgICAgX2xv
Zy53YXJuaW5nKCdXcml0aW5nIG5ldyBleHBlY3RlZCByZXN1bHQgIiVzIicgJSByZXN1bHRfbmFt
ZSkKIAogICAgICAgICBwb3J0LnVwZGF0ZV9iYXNlbGluZShvdXRwdXRfcGF0aCwgZGF0YSkKIAo=
</data>
<flag name="review"
          id="93627"
          type_id="1"
          status="+"
          setter="eric"
    />
    <flag name="commit-queue"
          id="93628"
          type_id="3"
          status="-"
          setter="dpranke"
    />
          </attachment>
      

    </bug>

</bugzilla>