[Webkit-unassigned] [Bug 37630] delete redundant test outputs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 10 10:35:59 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37630





--- Comment #16 from Marcus Bulach <bulach at chromium.org>  2010-08-10 10:35:59 PST ---
thanks Tony! replies inline, new patch uploaded:

(In reply to comment #14)
> (From update of attachment 63990 [details])
> > diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
> > +        * Scripts/deduplicate_tests.py: Added.
> > +        * Scripts/deduplicate_tests_unittest.py: Added.
> 
> There are no other unittest.py files or files with _ in the filename in Scripts and there's only one file that ends in .py.  Maybe it would be better to put these files in Scripts/webkitpy somewhere and have a wrapper file (e.g., duplicate-tests) in Scripts that just imports the files from webkitpy.  I think the unittest needs to be in webkitpy anyway for Scripts/test-webkitpy to find it.

ahn, right! I was running the tests manually, didn't know about test-webkitpy.
it's now much clearer with the wrapper in Scripts and the module / unittest in webkitpy, thanks!

> 
> 
> > diff --git a/WebKitTools/Scripts/deduplicate_tests.py b/WebKitTools/Scripts/deduplicate_tests.py
> > +# 2.  Redistributions in binary form must reproduce the above copyright
> > +#     notice, this list of conditions and the following disclaimer in the
> > +#     documentation and/or other materials provided with the distribution.
> 
> The third clause of the license seems to be missing.  There seems to be some inconsistency among the existing files in Scripts, but that's a separate issue.  I would use something like what's in webkit-tools-completion.sh.

hehe, I'm confused. in this bug I've been told to use the two clause version.. ;)
https://bugs.webkit.org/show_bug.cgi?id=40250#c5

do you know what's the real latest? :)


> 
> > +    # Fill in the map.
> > +    cmd = ['git', 'ls-tree', '-r', 'HEAD', 'LayoutTests']
> 
> Nit: () instead of [] since cmd doesn't change.

done.

> 
> The unittests look great.

thanks! another look, please?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list