RESOLVED FIXED 61052
[ORWT]Make --skipped=only option work with parameters with LayoutTests/ prefix
https://bugs.webkit.org/show_bug.cgi?id=61052
Summary [ORWT]Make --skipped=only option work with parameters with LayoutTests/ prefix
Chang Shu
Reported 2011-05-18 07:25:35 PDT
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 "Testing 24080 test cases." Note that this is equivalent to run Tools/Scripts/run-webkit-tests --skipped=ignore Normally, running Tools/Scripts/run-webkit-tests shows "Testing 23538 test cases." However, running the script without sub-folder works as expected: Tools/Scripts/run-webkit-tests --skipped=only shows "Testing 592 test cases."
Attachments
proposed fix (2.37 KB, patch)
2011-05-20 05:17 PDT, Csaba Osztrogonác
no flags
Csaba Osztrogonác
Comment 1 2011-05-18 07:33:10 PDT
Unfortunately --skipped=only use too simple algorithm, it compares the parameters with skipped list entries. If you don't add LayoutTests, it works. But it would be great if it can handle LayoutTests/ prefix ...
Csaba Osztrogonác
Comment 2 2011-05-20 05:17:14 PDT
Created attachment 94201 [details] proposed fix It would make --skipped=only users happier, because they can use tab completion to find the directory name. :)
Andras Becsi
Comment 3 2011-05-20 05:21:44 PDT
Comment on attachment 94201 [details] proposed fix Some more perl magic. LGTM.
Chang Shu
Comment 4 2011-05-20 06:15:03 PDT
Thanks, Ossy.
WebKit Commit Bot
Comment 5 2011-05-24 10:07:44 PDT
Comment on attachment 94201 [details] proposed fix Clearing flags on attachment: 94201 Committed r87162: <http://trac.webkit.org/changeset/87162>
WebKit Commit Bot
Comment 6 2011-05-24 10:07:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.