From 1aac9cb98a9328b15cc3e59e85c819cb8697df7b Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Tue, 26 Jan 2021 22:43:58 +0000 Subject: [PATCH] Bug 1571186 - Disable TestExpirationTracker on debug OSX for frequent failures. r=KrisWright Apparently this test has a history of failures, and it recently started failing frequently for no apparent reason. Differential Revision: https://phabricator.services.mozilla.com/D103116 --- xpcom/tests/gtest/moz.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xpcom/tests/gtest/moz.build b/xpcom/tests/gtest/moz.build index de28c1ced2da..35785edd6674 100644 --- a/xpcom/tests/gtest/moz.build +++ b/xpcom/tests/gtest/moz.build @@ -20,7 +20,6 @@ UNIFIED_SOURCES += [ "TestEscape.cpp", "TestEventPriorities.cpp", "TestEventTargetQI.cpp", - "TestExpirationTracker.cpp", "TestFile.cpp", "TestGCPostBarriers.cpp", "TestID.cpp", @@ -74,6 +73,10 @@ if CONFIG["OS_TARGET"] != "Android": if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CPU_ARCH"] == "aarch64"): UNIFIED_SOURCES += ["TestThreadUtils.cpp"] +# skip the test on debug OSX due to frequent failures (bug 1571186) +if not (CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin"): + UNIFIED_SOURCES += ["TestExpirationTracker.cpp"] + # skip the test on windows10-aarch64 and Android, aarch64 due to bug 1545670 if CONFIG["OS_TARGET"] != "Android" and not ( CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CPU_ARCH"] == "aarch64"