Title: [87162] trunk/Tools
Revision
87162
Author
o...@webkit.org
Date
2011-05-24 10:07:31 -0700 (Tue, 24 May 2011)

Log Message

2011-05-24  Csaba Osztrogonác  <o...@webkit.org>

        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:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (87161 => 87162)


--- trunk/Tools/ChangeLog	2011-05-24 16:43:05 UTC (rev 87161)
+++ trunk/Tools/ChangeLog	2011-05-24 17:07:31 UTC (rev 87162)
@@ -1,3 +1,12 @@
+2011-05-24  Csaba Osztrogonác  <o...@webkit.org>
+
+        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:
+
 2011-05-24  Adam Roben  <aro...@apple.com>
 
         Make TestFailures show how many tests are failing on each tester, and omit testers with no failures

Modified: trunk/Tools/Scripts/old-run-webkit-tests (87161 => 87162)


--- trunk/Tools/Scripts/old-run-webkit-tests	2011-05-24 16:43:05 UTC (rev 87161)
+++ trunk/Tools/Scripts/old-run-webkit-tests	2011-05-24 17:07:31 UTC (rev 87162)
@@ -2419,13 +2419,15 @@
                             if (!$constraintPath) {
                                 # Always add $skipped since no constraint path was specified on the command line.
                                 push(@ARGV, $skipped);
-                            } elsif ($skipped =~ /^($constraintPath)/) {
+                            } elsif ($skipped =~ /^($constraintPath)/ || ("LayoutTests/".$skipped) =~ /^($constraintPath)/ ) {
                                 # Add $skipped only if it matches the current path constraint, e.g.,
-                                # "--skipped=only dir1" with "dir1/file1.html" on the skipped list.
+                                # "--skipped=only dir1" with "dir1/file1.html" on the skipped list or
+                                # "--skipped=only LayoutTests/dir1" with "dir1/file1.html" on the skipped list
                                 push(@ARGV, $skipped);
-                            } elsif ($constraintPath =~ /^($skipped)/) {
+                            } elsif ($constraintPath =~ /^("LayoutTests\/".$skipped)/ || $constraintPath =~ /^($skipped)/) {
                                 # Add current path constraint if it is more specific than the skip list entry,
-                                # e.g., "--skipped=only dir1/dir2/dir3" with "dir1" on the skipped list.
+                                # e.g., "--skipped=only dir1/dir2/dir3" with "dir1" on the skipped list or
+                                # e.g., "--skipped=only LayoutTests/dir1/dir2/dir3" with "dir1" on the skipped list.
                                 push(@ARGV, $constraintPath);
                             }
                         } elsif ($verbose) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to