Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wpt tests on gcc-6-3 and clang-3-9 builds #3131

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions starboard/linux/x64x11/clang/3.9/cobalt/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,6 @@ def GetTestFilters(self):
filters.extend(test_filter.TestFilter(target, test) for test in tests)
return filters

def GetWebPlatformTestFilters(self):
filters = super().GetWebPlatformTestFilters()
for target, tests in self.__FILTERED_WPT_TESTS.items():
filters.extend(test_filter.TestFilter(target, test) for test in tests)
return filters

# pylint: disable=line-too-long
__FILTERED_WPT_TESTS = { # pylint: disable=invalid-name
'web_platform_tests': [
# TODO(b/332367155): Re-enable web_platform_tests once fixed.
'xhr/WebPlatformTest.Run/XMLHttpRequest_send_sync_blocks_async_htm',
'dom/WebPlatformTest.Run/dom_nodes_MutationObserver_attributes_html',
'html/WebPlatformTest.Run/html_dom_documents_dom_tree_accessors_Document_currentScript_sub_html',
],
}

# A map of failing or crashing tests per target.
__FILTERED_TESTS = { # pylint: disable=invalid-name
'base_unittests': [
Expand Down
16 changes: 0 additions & 16 deletions starboard/linux/x64x11/gcc/6.3/cobalt/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ def GetTestFilters(self):
filters.extend(test_filter.TestFilter(target, test) for test in tests)
return filters

def GetWebPlatformTestFilters(self):
filters = super().GetWebPlatformTestFilters()
for target, tests in self.__FILTERED_WPT_TESTS.items():
filters.extend(test_filter.TestFilter(target, test) for test in tests)
return filters

# pylint: disable=line-too-long
__FILTERED_WPT_TESTS = { # pylint: disable=invalid-name
'web_platform_tests': [
# TODO(b/332367155): Re-enable web_platform_tests once fixed.
'xhr/WebPlatformTest.Run/XMLHttpRequest_send_sync_blocks_async_htm',
'dom/WebPlatformTest.Run/dom_nodes_MutationObserver_attributes_html',
'html/WebPlatformTest.Run/html_dom_documents_dom_tree_accessors_Document_currentScript_sub_html',
],
}

# A map of failing or crashing tests per target.
__FILTERED_TESTS = { # pylint: disable=invalid-name
'base_unittests': [
Expand Down
2 changes: 1 addition & 1 deletion third_party/web_platform_tests/resources/testharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ policies and contribution forms [3].
var settings = {
output:true,
harness_timeout:{
"normal":10000,
"normal":9000,
"long":60000
},
test_timeout:null,
Expand Down
Loading