[Webkit-unassigned] [Bug 16853] http/tests/loading has different results when run with run-webkit-tests -1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 14 10:05:57 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16853


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18438|review?                     |review+
               Flag|                            |




------- Comment #17 from darin at apple.com  2008-01-14 10:05 PDT -------
(From update of attachment 18438)
r=me, even though I am worried about slowing down regression tests.

+        postProcessOneTest($old_base, 1) unless isQt();

I think the fact that isQt is a list of DumpRenderTree implementations that
support a new mode is quite unclear here. Maybe there's a better way of writing
this?

+    if ($test =~ /loading\//) {

This seems like it will fire for any directory with a suffix of "loading" --
maybe the expression should be more specific?

+        postProcessOneTest($old_base, 1) unless isQt();

Would be nicer to say "true" rather than "1" here, and even nicer to have a
name rather than just a magic value -- maybe a different function name for
this?

+    my ($base,$forceClose) = @_;

Missing space after comma.

+    if (($count + 1) % $testsPerDumpTool == 0 || $count == $#tests ||
$forceClose == 1) {

No need for "== 1" here. I think it makes things more confusing.


-- 
Configure bugmail: http://bugs.webkit.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