<?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>136848</bug_id>
          
          <creation_ts>2014-09-16 02:49:19 -0700</creation_ts>
          <short_desc>run-webkit-tests should count tests submitted as absolute paths once</short_desc>
          <delta_ts>2014-09-21 13:30:24 -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>
          
          <blocked>134766</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="youenn fablet">youennf</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1035429</commentid>
    <comment_count>0</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2014-09-16 02:49:19 -0700</bug_when>
    <thetext>Currently, run-webkit-tests is running several times the same tests when the tests are passed as directories using an absolute path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035431</commentid>
    <comment_count>1</comment_count>
      <attachid>238168</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2014-09-16 02:55:50 -0700</bug_when>
    <thetext>Created attachment 238168
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035527</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-09-16 11:50:09 -0700</bug_when>
    <thetext>It&apos;s not obvious to me what use case this fixes. Could you please provide some examples?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035544</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2014-09-16 12:44:23 -0700</bug_when>
    <thetext>As part of bug 134766 and bug 134767, webkit tests are run outside the LayoutTests folder (inside WebKitBuild folder) to keep the source tree clean.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035554</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-09-16 13:27:36 -0700</bug_when>
    <thetext>That sounds like it has quite a few downsides. I think that we should discuss this on webkit-dev prior ot going forward with bugs.

- If the tests are transient and don&apos;t have a common root, how are we going to report these to flakiness dashboard?

- Currently, I can send a trac link to anyone, and a lot of tests will just run in browser. This is very helpful when a test uncovers a bug in a system component, so there is an easy way to reproduce. With transient tests that are not in the tree, that would not work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035580</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2014-09-16 14:08:49 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; That sounds like it has quite a few downsides. I think that we should discuss this on webkit-dev prior ot going forward with bugs.

Sure, I will do that again.

&gt; - If the tests are transient and don&apos;t have a common root, how are we going to report these to flakiness dashboard?
&gt; 
&gt; - Currently, I can send a trac link to anyone, and a lot of tests will just run in browser. This is very helpful when a test uncovers a bug in a system component, so there is an easy way to reproduce. With transient tests that are not in the tree, that would not work.

The whole W3C test suite  would actually be imported within the LayoutTests folder and run as usual webkit tests.

The tests with absolute paths would be run offline by people wanting to gather conformance statistics or to bump the imported W3C test suite version and update related test expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035594</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-09-16 14:47:54 -0700</bug_when>
    <thetext>I see, that makes more sense to me. Not quite sure why the tree needs to remain clean when doing something like this though - it&apos;s easy to revert changes once done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035885</commentid>
    <comment_count>7</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2014-09-18 02:50:57 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; I see, that makes more sense to me. Not quite sure why the tree needs to remain clean when doing something like this though - it&apos;s easy to revert changes once done.

Running absolute path tests also ensures that all generated files (expected.txt, crash logs, stderr, diff) are located in the same folder as the tests. That makes it a tad easier to compute the conformance results and generate self-contained reports.
See http://youennf.github.io/w3c-reports/12092014/w3c_conformance_results.html for instance: the report links each test to its relevant .txt file.

We could as well run the tests in a git/svn-ignored LayoutTests sub-folder. The conformance result computation and report generation would probably be somewhat more complex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036369</commentid>
    <comment_count>8</comment_count>
      <attachid>238168</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-21 13:30:22 -0700</bug_when>
    <thetext>Comment on attachment 238168
Patch

Clearing flags on attachment: 238168

Committed r173798: &lt;http://trac.webkit.org/changeset/173798&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036370</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-21 13:30:24 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>238168</attachid>
            <date>2014-09-16 02:55:50 -0700</date>
            <delta_ts>2014-09-21 13:30:21 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-136848-20140916115546.patch</filename>
            <type>text/plain</type>
            <size>1686</size>
            <attacher name="youenn fablet">youennf</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBS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