[Webkit-unassigned] [Bug 9794] New: Teach run-webkit-tests how to ignore tests with performance improvements

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 8 20:12:20 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9794

           Summary: Teach run-webkit-tests how to ignore tests with
                    performance improvements
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ddkilzer at kilzer.net
                CC: darin at apple.com


There are times when specific tests are broken when you want to run the whole
test suite, but don't want to have to specify every single subdirectory of
LayoutTests (or worse, LayoutTests/fast) to run all but one test.  It would be
nice to have an "--ignore-tests" command-line argument that allowed you ignore
just one test (or one directory or one subdirectory) while running all of the
rest of the tests.

As I was creating this patch, I noticed that the code that generated the list
of tests to run (in @tests) was not ignoring .svn directories.  Ignoring these
directories cut the time to generate the list in 1/2.  Switching from using the
find(1) command to the File::Find module cut the time to generate the list by
1/2 or 1/3 again, and allowed me to implement the --ignore-tests feature much
easier.

Overall, the time required to generate the full list of tests (running
run-webkit-tests with no arguments) was cut from 45s-50s to about 10s.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list