<?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>41597</bug_id>
          
          <creation_ts>2010-07-05 02:46:48 -0700</creation_ts>
          <short_desc>Don&apos;t pass image hash to DRT when pixel tests are disabled</short_desc>
          <delta_ts>2010-07-06 02:43:34 -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>PC</rep_platform>
          <op_sys>All</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>0</everconfirmed>
          <reporter name="Gabor Rapcsanyi">rgabor</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abecsi</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>ossy</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>246547</commentid>
    <comment_count>0</comment_count>
    <who name="Gabor Rapcsanyi">rgabor</who>
    <bug_when>2010-07-05 02:46:48 -0700</bug_when>
    <thetext>new-run-webkit-tests shouldn&apos;t pass image hash to DRT when pixel tests are disabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246565</commentid>
    <comment_count>1</comment_count>
      <attachid>60510</attachid>
    <who name="Gabor Rapcsanyi">rgabor</who>
    <bug_when>2010-07-05 04:10:31 -0700</bug_when>
    <thetext>Created attachment 60510
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246953</commentid>
    <comment_count>2</comment_count>
      <attachid>60510</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-07-06 02:05:24 -0700</bug_when>
    <thetext>Comment on attachment 60510
proposed patch

Does this match old-run-webkit-tests?  Why is Qt the only port which has noticed this? (Because other ports aren&apos;t using NRWT much yet?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246956</commentid>
    <comment_count>3</comment_count>
    <who name="Gabor Rapcsanyi">rgabor</who>
    <bug_when>2010-07-06 02:11:54 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 60510 [details])
&gt; Does this match old-run-webkit-tests?  Why is Qt the only port which has noticed this? (Because other ports aren&apos;t using NRWT much yet?)

Yes, this behavior matches old-run-webkit-tests. Seems other ports don&apos;t use new-run-webkit-tests yet. The image hash is only used by pixel tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246958</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-06 02:18:28 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 60510 [details])
&gt; Does this match old-run-webkit-tests?  Why is Qt the only port which has noticed this? (Because other ports aren&apos;t using NRWT much yet?)

ORWT only pass hash to DRT if pixel tests is enabled:
------
    # Try to read expected hash file for pixel tests
    my $suffixExpectedHash = &quot;&quot;;
    if ($pixelTests &amp;&amp; !$resetResults) {
        my $expectedPixelDir = expectedDirectoryForTest($base, 0, &quot;png&quot;);
        if (open EXPECTEDHASH, &quot;$expectedPixelDir/$base-$expectedTag.checksum&quot;) {
            my $expectedHash = &lt;EXPECTEDHASH&gt;;
            chomp($expectedHash);
            close EXPECTEDHASH;

            # Format expected hash into a suffix string that is appended to the path / URL passed to DRT
            $suffixExpectedHash = &quot;&apos;$expectedHash&quot;;
        }
    }
------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246962</commentid>
    <comment_count>5</comment_count>
      <attachid>60510</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-07-06 02:27:45 -0700</bug_when>
    <thetext>Comment on attachment 60510
proposed patch

OK.  I suspect this is a regression since last time I tried NRWT then, since --platform=mac had pixel tests disabled when we were last using NRWT with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246968</commentid>
    <comment_count>6</comment_count>
      <attachid>60510</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-07-06 02:43:29 -0700</bug_when>
    <thetext>Comment on attachment 60510
proposed patch

Clearing flags on attachment: 60510

Committed r62541: &lt;http://trac.webkit.org/changeset/62541&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246969</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-07-06 02:43:34 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>60510</attachid>
            <date>2010-07-05 04:10:31 -0700</date>
            <delta_ts>2010-07-06 02:43:29 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>my_patch03</filename>
            <type>text/plain</type>
            <size>1479</size>
            <attacher name="Gabor Rapcsanyi">rgabor</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJLaXRUb29scy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDYyNDc3KQorKysgV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTAtMDctMDUgIEdhYm9yIFJhcGNzYW55aSAg
PHJnYWJvckB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1biB3aWxsIGJlIGNvcGllZCBpbnRvIHRoZSBiYXNlbGluZS4p
CiAgICAgICAgIGltYWdlX2hhc2ggPSB0ZXN0X2luZm8uaW1hZ2VfaGFzaCgpCiAgICAgICAgIGlm
IChpbWFnZV9oYXNoIGFuZAotICAgICAgICAgICAgKHNlbGYuX3Rlc3RfYXJncy5uZXdfYmFzZWxp
bmUgb3Igc2VsZi5fdGVzdF9hcmdzLnJlc2V0X3Jlc3VsdHMpKToKKyAgICAgICAgICAgIChzZWxm
Ll90ZXN0X2FyZ3MubmV3X2Jhc2VsaW5lIG9yIHNlbGYuX3Rlc3RfYXJncy5yZXNldF9yZXN1bHRz
IG9yCisgICAgICAgICAgICBub3Qgc2VsZi5fb3B0aW9ucy5waXhlbF90ZXN0cykpOgogICAgICAg
ICAgICAgaW1hZ2VfaGFzaCA9ICIiCiAgICAgICAgIHN0YXJ0ID0gdGltZS50aW1lKCkKICAgICAg
ICAgY3Jhc2gsIHRpbWVvdXQsIGFjdHVhbF9jaGVja3N1bSwgb3V0cHV0LCBlcnJvciA9IFwK
</data>

          </attachment>
      

    </bug>

</bugzilla>