Changeset 141672 in webkit


Ignore:
Timestamp:
Feb 1, 2013 6:16:54 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Update LayoutTests scripts to skip webgl folder on ports
https://bugs.webkit.org/show_bug.cgi?id=108705

Patch by Gregg Tavares <gman@google.com> on 2013-02-01
Reviewed by Dirk Pranke.

I'm working on checking in the WebGL Conformance Tests
as layout tests into LayoutTests/webgl. For ports
that do not have WebGL enabled this changes will
skip tests in the "webgl" folder.

  • Scripts/webkitpy/layout_tests/port/base.py:

(Port._missing_symbol_to_skipped_tests):

  • Scripts/webkitpy/layout_tests/port/port_testcase.py:

(PortTestCase.test_skipped_directories_for_symbols):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r141671 r141672  
     12013-02-01  Gregg Tavares  <gman@google.com>
     2
     3        Update LayoutTests scripts to skip webgl folder on ports
     4        https://bugs.webkit.org/show_bug.cgi?id=108705
     5
     6        Reviewed by Dirk Pranke.
     7
     8        I'm working on checking in the WebGL Conformance Tests
     9        as layout tests into LayoutTests/webgl. For ports
     10        that do not have WebGL enabled this changes will
     11        skip tests in the "webgl" folder.
     12
     13        * Scripts/webkitpy/layout_tests/port/base.py:
     14        (Port._missing_symbol_to_skipped_tests):
     15        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
     16        (PortTestCase.test_skipped_directories_for_symbols):
     17
    1182013-02-01  Roger Fong  <roger_fong@apple.com>
    219
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py

    r140508 r141672  
    15051505            "GraphicsLayer": ["compositing"],
    15061506            "WebCoreHas3DRendering": ["animations/3d", "transforms/3d"],
    1507             "WebGLShader": ["fast/canvas/webgl", "compositing/webgl", "http/tests/canvas/webgl"],
     1507            "WebGLShader": ["fast/canvas/webgl", "compositing/webgl", "http/tests/canvas/webgl", "webgl"],
    15081508            "MHTMLArchive": ["mhtml"],
    15091509            "CSSVariableValue": ["fast/css/variables", "inspector/styles/variables"],
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/port_testcase.py

    r140510 r141672  
    459459            "compositing/webgl",  # Requires WebGLShader
    460460            "http/tests/canvas/webgl",  # Requires WebGLShader
     461            "webgl",  # Requires WebGLShader
    461462            "mhtml",  # Requires MHTMLArchive
    462463            "fast/css/variables",  # Requires CSS Variables
     
    474475"""
    475476        # Note 'compositing' is not in the list of skipped directories (hence the parsing of GraphicsLayer worked):
    476         expected_directories = set(['mathml', 'transforms/3d', 'compositing/webgl', 'fast/canvas/webgl', 'animations/3d', 'mhtml', 'http/tests/canvas/webgl', 'fast/css/variables', 'inspector/styles/variables'])
     477        expected_directories = set(['mathml', 'transforms/3d', 'compositing/webgl', 'fast/canvas/webgl', 'animations/3d', 'webgl', 'mhtml', 'http/tests/canvas/webgl', 'fast/css/variables', 'inspector/styles/variables'])
    477478        result_directories = set(TestWebKitPort(symbols_string=symbols_string)._skipped_tests_for_unsupported_features(test_list=['mathml/foo.html']))
    478479        self.assertEqual(result_directories, expected_directories)
Note: See TracChangeset for help on using the changeset viewer.