Changeset 87162 in webkit


Ignore:
Timestamp:
May 24, 2011 10:07:31 AM (13 years ago)
Author:
Csaba Osztrogonác
Message:

2011-05-24 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Kenneth Rohde Christiansen.

[ORWT]Make --skipped=only option work with parameters with LayoutTests/ prefix
https://bugs.webkit.org/show_bug.cgi?id=61052

  • Scripts/old-run-webkit-tests:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r87148 r87162  
     12011-05-24  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [ORWT]Make --skipped=only option work with parameters with LayoutTests/ prefix
     6        https://bugs.webkit.org/show_bug.cgi?id=61052
     7
     8        * Scripts/old-run-webkit-tests:
     9
    1102011-05-24  Adam Roben  <aroben@apple.com>
    211
  • trunk/Tools/Scripts/old-run-webkit-tests

    r86141 r87162  
    24202420                                # Always add $skipped since no constraint path was specified on the command line.
    24212421                                push(@ARGV, $skipped);
    2422                             } elsif ($skipped =~ /^($constraintPath)/) {
     2422                            } elsif ($skipped =~ /^($constraintPath)/ || ("LayoutTests/".$skipped) =~ /^($constraintPath)/ ) {
    24232423                                # Add $skipped only if it matches the current path constraint, e.g.,
    2424                                 # "--skipped=only dir1" with "dir1/file1.html" on the skipped list.
     2424                                # "--skipped=only dir1" with "dir1/file1.html" on the skipped list or
     2425                                # "--skipped=only LayoutTests/dir1" with "dir1/file1.html" on the skipped list
    24252426                                push(@ARGV, $skipped);
    2426                             } elsif ($constraintPath =~ /^($skipped)/) {
     2427                            } elsif ($constraintPath =~ /^("LayoutTests\/".$skipped)/ || $constraintPath =~ /^($skipped)/) {
    24272428                                # Add current path constraint if it is more specific than the skip list entry,
    2428                                 # e.g., "--skipped=only dir1/dir2/dir3" with "dir1" on the skipped list.
     2429                                # e.g., "--skipped=only dir1/dir2/dir3" with "dir1" on the skipped list or
     2430                                # e.g., "--skipped=only LayoutTests/dir1/dir2/dir3" with "dir1" on the skipped list.
    24292431                                push(@ARGV, $constraintPath);
    24302432                            }
Note: See TracChangeset for help on using the changeset viewer.