From 6b56209ae2de6601cacbd113955523aa52ccdb40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Fri, 8 Nov 2024 16:19:54 +0000 Subject: [PATCH] Bug 1925510 - Disable the profiler gtests on 32-bit platforms r=aabh,profiler-reviewers It looks like the profiler gtests became more flaky over time on 32-bit platforms and they are starting to fail due to OOM errors. We don't really need to test them, so let's disable them all together. Differential Revision: https://phabricator.services.mozilla.com/D227803 --- tools/profiler/tests/gtest/moz.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/profiler/tests/gtest/moz.build b/tools/profiler/tests/gtest/moz.build index ea5ca1f228ec..ef8ec7e4156d 100644 --- a/tools/profiler/tests/gtest/moz.build +++ b/tools/profiler/tests/gtest/moz.build @@ -11,7 +11,6 @@ if ( in ( "arm", "aarch64", - "x86", "x86_64", ) ): @@ -31,7 +30,12 @@ LOCAL_INCLUDES += [ ] # Bug 1885381 - Hangs/timeouts under TSAN -if CONFIG["OS_TARGET"] != "Android" and not CONFIG["MOZ_TSAN"]: +if ( + CONFIG["OS_TARGET"] != "Android" + and not CONFIG["MOZ_TSAN"] + # Bug 1930156 - Frequent OOMs on 32-bit platforms. + and CONFIG["TARGET_CPU"] != "x86" +): UNIFIED_SOURCES += [ "GeckoProfiler.cpp", "ThreadProfileTest.cpp",