<?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>61052</bug_id>
          
          <creation_ts>2011-05-18 07:25:35 -0700</creation_ts>
          <short_desc>[ORWT]Make --skipped=only option work with parameters with LayoutTests/ prefix</short_desc>
          <delta_ts>2011-05-24 10:07:48 -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>All</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>1</everconfirmed>
          <reporter name="Chang Shu">cshu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abecsi</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>405699</commentid>
    <comment_count>0</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2011-05-18 07:25:35 -0700</bug_when>
    <thetext>I ran the following script:
Tools/Scripts/run-webkit-tests LayoutTests/fast/events --skipped=only
I expected to see only the skipped tests under folder LayoutTests/fast/events to be run. However, the test log (on mac) shows
&quot;Testing 24080 test cases.&quot;
Note that this is equivalent to run
Tools/Scripts/run-webkit-tests --skipped=ignore
Normally, running
Tools/Scripts/run-webkit-tests
shows
&quot;Testing 23538 test cases.&quot;

However, running the script without sub-folder works as expected:
Tools/Scripts/run-webkit-tests --skipped=only
shows
&quot;Testing 592 test cases.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>405708</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-18 07:33:10 -0700</bug_when>
    <thetext>Unfortunately --skipped=only use too simple algorithm, it compares
the parameters with skipped list entries. 

If you don&apos;t add LayoutTests, it works.

But it would be great if it can handle LayoutTests/ prefix ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407004</commentid>
    <comment_count>2</comment_count>
      <attachid>94201</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-20 05:17:14 -0700</bug_when>
    <thetext>Created attachment 94201
proposed fix

It would make --skipped=only users happier, because
they can use tab completion to find the directory name. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407006</commentid>
    <comment_count>3</comment_count>
      <attachid>94201</attachid>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2011-05-20 05:21:44 -0700</bug_when>
    <thetext>Comment on attachment 94201
proposed fix

Some more perl magic. LGTM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407025</commentid>
    <comment_count>4</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2011-05-20 06:15:03 -0700</bug_when>
    <thetext>Thanks, Ossy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408950</commentid>
    <comment_count>5</comment_count>
      <attachid>94201</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-24 10:07:44 -0700</bug_when>
    <thetext>Comment on attachment 94201
proposed fix

Clearing flags on attachment: 94201

Committed r87162: &lt;http://trac.webkit.org/changeset/87162&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408952</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-24 10:07:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94201</attachid>
            <date>2011-05-20 05:17:14 -0700</date>
            <delta_ts>2011-05-24 10:07:43 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>1.patch</filename>
            <type>text/plain</type>
            <size>2431</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCA4MDZj
NTgzLi43ZjExNzk3IDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hh
bmdlTG9nCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTEtMDUtMjAgIENzYWJhIE9zenRyb2dvbsOhYyAg
PG9zc3lAd2Via2l0Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4K
KworICAgICAgICBbT1JXVF1NYWtlIC0tc2tpcHBlZD1vbmx5IG9wdGlvbiB3b3JrIHdpdGggcGFy
YW1ldGVycyB3aXRoIExheW91dFRlc3RzLyBwcmVmaXgKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTYxMDUyCisKKyAgICAgICAgKiBTY3JpcHRzL29sZC1y
dW4td2Via2l0LXRlc3RzOgorCiAyMDExLTA1LTIwICBLZW50IFRhbXVyYSAgPHRrZW50QGNocm9t
aXVtLm9yZz4KIAogICAgICAgICBSZXZpZXdlZCBieSBSeW9zdWtlIE5pd2EuCmRpZmYgLS1naXQg
YS9Ub29scy9TY3JpcHRzL29sZC1ydW4td2Via2l0LXRlc3RzIGIvVG9vbHMvU2NyaXB0cy9vbGQt
cnVuLXdlYmtpdC10ZXN0cwppbmRleCBjOTYxZjU4Li5jZmU2ZDYxIDEwMDc1NQotLS0gYS9Ub29s
cy9TY3JpcHRzL29sZC1ydW4td2Via2l0LXRlc3RzCisrKyBiL1Rvb2xzL1NjcmlwdHMvb2xkLXJ1
bi13ZWJraXQtdGVzdHMKQEAgLTI0MTksMTMgKzI0MTksMTUgQEAgc3ViIHJlYWRTa2lwcGVkRmls
ZXMoJCkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoISRjb25zdHJhaW50UGF0aCkg
ewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjIEFsd2F5cyBhZGQgJHNraXBwZWQg
c2luY2Ugbm8gY29uc3RyYWludCBwYXRoIHdhcyBzcGVjaWZpZWQgb24gdGhlIGNvbW1hbmQgbGlu
ZS4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHVzaChAQVJHViwgJHNraXBwZWQp
OwotICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzaWYgKCRza2lwcGVkID1+IC9eKCRj
b25zdHJhaW50UGF0aCkvKSB7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNpZiAo
JHNraXBwZWQgPX4gL14oJGNvbnN0cmFpbnRQYXRoKS8gfHwgKCJMYXlvdXRUZXN0cy8iLiRza2lw
cGVkKSA9fiAvXigkY29uc3RyYWludFBhdGgpLyApIHsKICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIyBBZGQgJHNraXBwZWQgb25seSBpZiBpdCBtYXRjaGVzIHRoZSBjdXJyZW50IHBh
dGggY29uc3RyYWludCwgZS5nLiwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIyAi
LS1za2lwcGVkPW9ubHkgZGlyMSIgd2l0aCAiZGlyMS9maWxlMS5odG1sIiBvbiB0aGUgc2tpcHBl
ZCBsaXN0LgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjICItLXNraXBwZWQ9b25s
eSBkaXIxIiB3aXRoICJkaXIxL2ZpbGUxLmh0bWwiIG9uIHRoZSBza2lwcGVkIGxpc3Qgb3IKKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIyAiLS1za2lwcGVkPW9ubHkgTGF5b3V0VGVz
dHMvZGlyMSIgd2l0aCAiZGlyMS9maWxlMS5odG1sIiBvbiB0aGUgc2tpcHBlZCBsaXN0CiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1c2goQEFSR1YsICRza2lwcGVkKTsKLSAgICAg
ICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2lmICgkY29uc3RyYWludFBhdGggPX4gL14oJHNr
aXBwZWQpLykgeworICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzaWYgKCRjb25zdHJh
aW50UGF0aCA9fiAvXigiTGF5b3V0VGVzdHNcLyIuJHNraXBwZWQpLyB8fCAkY29uc3RyYWludFBh
dGggPX4gL14oJHNraXBwZWQpLykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAj
IEFkZCBjdXJyZW50IHBhdGggY29uc3RyYWludCBpZiBpdCBpcyBtb3JlIHNwZWNpZmljIHRoYW4g
dGhlIHNraXAgbGlzdCBlbnRyeSwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIyBl
LmcuLCAiLS1za2lwcGVkPW9ubHkgZGlyMS9kaXIyL2RpcjMiIHdpdGggImRpcjEiIG9uIHRoZSBz
a2lwcGVkIGxpc3QuCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICMgZS5nLiwgIi0t
c2tpcHBlZD1vbmx5IGRpcjEvZGlyMi9kaXIzIiB3aXRoICJkaXIxIiBvbiB0aGUgc2tpcHBlZCBs
aXN0IG9yCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICMgZS5nLiwgIi0tc2tpcHBl
ZD1vbmx5IExheW91dFRlc3RzL2RpcjEvZGlyMi9kaXIzIiB3aXRoICJkaXIxIiBvbiB0aGUgc2tp
cHBlZCBsaXN0LgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwdXNoKEBBUkdWLCAk
Y29uc3RyYWludFBhdGgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAg
ICAgICAgICAgICAgICAgIH0gZWxzaWYgKCR2ZXJib3NlKSB7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>