[Webkit-unassigned] [Bug 37630] delete redundant test outputs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 10 09:58:04 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37630
Tony Chang <tony at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #63990|review? |review-
Flag| |
--- Comment #14 from Tony Chang <tony at chromium.org> 2010-08-10 09:58:03 PST ---
(From update of attachment 63990)
> 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.
> 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.
> + # Fill in the map.
> + cmd = ['git', 'ls-tree', '-r', 'HEAD', 'LayoutTests']
Nit: () instead of [] since cmd doesn't change.
The unittests look great.
--
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