[Webkit-unassigned] [Bug 48614] webkitpy.layout_tests.run_webkit_tests_unittest.MainTest gets wedged on Windows XP/Cygwin 1.5/Python 2.5.2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 1 14:07:30 PDT 2010


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





--- Comment #5 from Adam Roben (aroben) <aroben at apple.com>  2010-11-01 14:07:30 PST ---
(From update of attachment 72555)
View in context: https://bugs.webkit.org/attachment.cgi?id=72555&action=review

> WebKitTools/Scripts/webkitpy/test/skip.py:39
> +def skip_if(klass, condition, message=None):
> +    if not condition:
> +        return klass
> +    for name in dir(klass):
> +        attr = getattr(klass, name)
> +        if not callable(attr):
> +            continue
> +        if not name.startswith('test_'):
> +            continue
> +        setattr(klass, name, _skipped_method(attr))
> +    klass._printed_skipped_message = False
> +    return klass

I'm not sure of the best way to test skip_if. Any suggestions?

-- 
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