<?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>62241</bug_id>
          
          <creation_ts>2011-06-07 15:32:12 -0700</creation_ts>
          <short_desc>rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64</short_desc>
          <delta_ts>2011-06-07 16:22:05 -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="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Dirk Pranke">dpranke</assigned_to>
          <cc>ojan</cc>
    
    <cc>simonjam</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>416849</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 15:32:12 -0700</bug_when>
    <thetext>rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416850</commentid>
    <comment_count>1</comment_count>
      <attachid>96315</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 15:33:54 -0700</bug_when>
    <thetext>Created attachment 96315
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416853</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 15:35:29 -0700</bug_when>
    <thetext>When we made the 64-bit port the &quot;generic&quot; chromium-linux port, we forgot to switch the ordering of the ports in port.ALL_BASELINE_VARIANTS, which is used by rebaseline-chromium-webkit-tests to figure out which baselines to pull in which order.

Without this change, we&apos;d end up generating duplicate baselines for both linux variants and they wouldn&apos;t get deduped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416854</commentid>
    <comment_count>3</comment_count>
      <attachid>96315</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-06-07 15:36:28 -0700</bug_when>
    <thetext>Comment on attachment 96315
Patch

Can we write a test for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416868</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 15:45:26 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 96315 [details])
&gt; Can we write a test for this?

It depends. what would you want to test? The _unittest file does test that, for example, if the Vista dir duplicates the Win dir, then deduping works, so there is already a test for the deduping logic by itself.

But, if you wanted to test that the linux 32 port was deduped into the base linux port, all it would be testing was that the ports were listed in the right order in the same constant, creating another place to update if we change the order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416876</commentid>
    <comment_count>5</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-06-07 15:55:38 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; But, if you wanted to test that the linux 32 port was deduped into the base linux port, all it would be testing was that the ports were listed in the right order in the same constant, creating another place to update if we change the order.

Yes, I think that would be valuable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416900</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 16:20:10 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; But, if you wanted to test that the linux 32 port was deduped into the base linux port, all it would be testing was that the ports were listed in the right order in the same constant, creating another place to update if we change the order.
&gt; 
&gt; Yes, I think that would be valuable.

Well, you would have had to know to change the test and change the list when you made your actual change. Since you missed the one place, you probably would&apos;ve missed the other, so I don&apos;t think the test would&apos;ve actually caught anything.

More generally, if you wanted to test this particular case, presumably you&apos;d test that all of the other deduping works as you&apos;d expect (e.g., xp dups vista, etc.). That seems like a lot of work for little reward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416903</commentid>
    <comment_count>7</comment_count>
      <attachid>96315</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 16:22:02 -0700</bug_when>
    <thetext>Comment on attachment 96315
Patch

Clearing flags on attachment: 96315

Committed r88281: &lt;http://trac.webkit.org/changeset/88281&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>416904</commentid>
    <comment_count>8</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-06-07 16:22:05 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>96315</attachid>
            <date>2011-06-07 15:33:54 -0700</date>
            <delta_ts>2011-06-07 16:22:02 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-62241-20110607153353.patch</filename>
            <type>text/plain</type>
            <size>1416</size>
            <attacher name="Dirk Pranke">dpranke</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODgxODYKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBi
L1Rvb2xzL0NoYW5nZUxvZwppbmRleCA3OTdiNzg0Mzg1Zjk2YWMyYTAyNTJhMDkyN2Q5YjViYmI4
ZDIwYzg4Li4zYWQ0MjE3YzIzYWFiNmQ4NGY3ZDQ0ODI4YWMxMjZiZjE3MGYxZDE1IDEwMDY0NAot
LS0gYS9Ub29scy9DaGFu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nB5CkBAIC01OCw3ICs1OCw3IEBAIGNsYXNzIENocm9taXVtUG9ydChi
YXNlLlBvcnQpOgogICAgIEFMTF9CQVNFTElORV9WQVJJQU5UUyA9IFsKICAgICAgICAgJ2Nocm9t
aXVtLW1hYy1zbm93bGVvcGFyZCcsICdjaHJvbWl1bS1tYWMtbGVvcGFyZCcsCiAgICAgICAgICdj
aHJvbWl1bS13aW4td2luNycsICdjaHJvbWl1bS13aW4tdmlzdGEnLCAnY2hyb21pdW0td2luLXhw
JywKLSAgICAgICAgJ2Nocm9taXVtLWxpbnV4LXg4NicsICdjaHJvbWl1bS1saW51eC14ODZfNjQn
LAorICAgICAgICAnY2hyb21pdW0tbGludXgteDg2XzY0JywgJ2Nocm9taXVtLWxpbnV4LXg4Nics
CiAgICAgICAgICdjaHJvbWl1bS1ncHUtbWFjLXNub3dsZW9wYXJkJywgJ2Nocm9taXVtLWdwdS13
aW4td2luNycsICdjaHJvbWl1bS1ncHUtbGludXgteDg2XzY0JywKICAgICBdCiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>