From 49d71f65c2be703ca7e2a2b18beb4f0910221810 Mon Sep 17 00:00:00 2001 From: FirstName LastName Date: Sat, 20 Jan 2024 00:17:09 +0000 Subject: [PATCH] Disable PosixMemoryMapTest.CanChangeMemoryProtection. The test is crashing in the linux coverage build. b/321315344 Change-Id: I1053939bbec2af0e5d9922a6a43adbe868c62207 --- starboard/linux/x64x11/test_filters.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/starboard/linux/x64x11/test_filters.py b/starboard/linux/x64x11/test_filters.py index d35a2e548ff6..4a4230deb239 100644 --- a/starboard/linux/x64x11/test_filters.py +++ b/starboard/linux/x64x11/test_filters.py @@ -14,6 +14,12 @@ """Starboard Linux X64 X11 Platform Test Filters.""" from starboard.linux.shared import test_filters as shared_test_filters +from starboard.tools.testing import test_filter + +_FILTERED_TESTS = { + # TODO(b/321315344): Re-enable once the coverage build is fixed. + 'nplb': ['PosixMemoryMapTest.CanChangeMemoryProtection',], +} def CreateTestFilters(): @@ -25,4 +31,6 @@ class LinuxX64X11TestFilters(shared_test_filters.TestFilters): def GetTestFilters(self): filters = super().GetTestFilters() + for target, tests in _FILTERED_TESTS.items(): + filters.extend(test_filter.TestFilter(target, test) for test in tests) return filters