Bug 1894551 - remove old win/aarch64 references in gtest moz.build files. r=RyanVM,necko-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D209182
This commit is contained in:
Joel Maher 2024-05-02 12:17:06 +00:00
parent f144277f61
commit 64e5693772
6 changed files with 16 additions and 49 deletions

View file

@ -24,14 +24,9 @@ UNIFIED_SOURCES += [
"TestSwizzle.cpp", "TestSwizzle.cpp",
"TestTextures.cpp", "TestTextures.cpp",
"TestTreeTraversal.cpp", "TestTreeTraversal.cpp",
"TestVsync.cpp",
] ]
# skip the test on windows10-aarch64 due to perma-crash - bug 1544961
if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"):
UNIFIED_SOURCES += [
"TestVsync.cpp",
]
if CONFIG["OS_TARGET"] != "Android": if CONFIG["OS_TARGET"] != "Android":
UNIFIED_SOURCES += [ UNIFIED_SOURCES += [
"TestRect.cpp", "TestRect.cpp",

View file

@ -12,31 +12,23 @@ UNIFIED_SOURCES = [
"TestAnimationFrameBuffer.cpp", "TestAnimationFrameBuffer.cpp",
"TestBlendAnimationFilter.cpp", "TestBlendAnimationFilter.cpp",
"TestCopyOnWrite.cpp", "TestCopyOnWrite.cpp",
"TestDecoders.cpp",
"TestDecodersPerf.cpp",
"TestDecodeToSurface.cpp",
"TestDeinterlacingFilter.cpp", "TestDeinterlacingFilter.cpp",
"TestDownscalingFilter.cpp",
"TestFrameAnimator.cpp", "TestFrameAnimator.cpp",
"TestLoader.cpp", "TestLoader.cpp",
"TestMetadata.cpp",
"TestRemoveFrameRectFilter.cpp", "TestRemoveFrameRectFilter.cpp",
"TestSourceBuffer.cpp",
"TestStreamingLexer.cpp", "TestStreamingLexer.cpp",
"TestSurfaceCache.cpp",
"TestSurfacePipeIntegration.cpp",
"TestSurfaceSink.cpp", "TestSurfaceSink.cpp",
"TestSwizzleFilter.cpp", "TestSwizzleFilter.cpp",
] ]
# skip the test on windows10-aarch64, aarch64 due to 1544961
if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"):
UNIFIED_SOURCES += [
"TestDecoders.cpp",
"TestDecodersPerf.cpp",
"TestDecodeToSurface.cpp",
"TestMetadata.cpp",
"TestSourceBuffer.cpp",
"TestSurfaceCache.cpp",
]
UNIFIED_SOURCES += [
"TestDownscalingFilter.cpp",
"TestSurfacePipeIntegration.cpp",
]
TEST_HARNESS_FILES.gtest += [ TEST_HARNESS_FILES.gtest += [
"animated-with-extra-image-sub-blocks.gif", "animated-with-extra-image-sub-blocks.gif",
"blend.avif", "blend.avif",

View file

@ -4,10 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
UNIFIED_SOURCES += [] UNIFIED_SOURCES += ["TestEncoding.cpp"]
# skip the test on windows10-aarch64 due to perma-crash - bug 1544961
if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"):
UNIFIED_SOURCES += ["TestEncoding.cpp"]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"

View file

@ -4,10 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# skip the test on windows10-aarch64 due to perma-crash - bug 1544961 if CONFIG["OS_TARGET"] != "Android":
if CONFIG["OS_TARGET"] != "Android" and not (
CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"
):
UNIFIED_SOURCES += [ UNIFIED_SOURCES += [
"TestJemalloc.cpp", "TestJemalloc.cpp",
] ]

View file

@ -23,6 +23,7 @@ UNIFIED_SOURCES += [
"TestLinkHeader.cpp", "TestLinkHeader.cpp",
"TestMIMEInputStream.cpp", "TestMIMEInputStream.cpp",
"TestMozURL.cpp", "TestMozURL.cpp",
"TestPACMan.cpp",
"TestProtocolProxyService.cpp", "TestProtocolProxyService.cpp",
"TestReadStreamToString.cpp", "TestReadStreamToString.cpp",
"TestServerTimingHeader.cpp", "TestServerTimingHeader.cpp",
@ -30,24 +31,15 @@ UNIFIED_SOURCES += [
"TestSSLTokensCache.cpp", "TestSSLTokensCache.cpp",
"TestStandardURL.cpp", "TestStandardURL.cpp",
"TestUDPSocket.cpp", "TestUDPSocket.cpp",
"TestURIMutator.cpp",
] ]
if CONFIG["OS_TARGET"] == "WINNT": if CONFIG["OS_TARGET"] == "WINNT":
UNIFIED_SOURCES += [ UNIFIED_SOURCES += [
"TestNamedPipeService.cpp", "TestNamedPipeService.cpp",
"TestNetworkLinkIdHashingWindows.cpp",
] ]
# skip the test on windows10-aarch64
if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"):
UNIFIED_SOURCES += [
"TestPACMan.cpp",
"TestURIMutator.cpp",
]
# run the test on windows only
if CONFIG["OS_TARGET"] == "WINNT":
UNIFIED_SOURCES += ["TestNetworkLinkIdHashingWindows.cpp"]
# run the test on mac only # run the test on mac only
if CONFIG["TARGET_OS"] == "OSX": if CONFIG["TARGET_OS"] == "OSX":
UNIFIED_SOURCES += ["TestNetworkLinkIdHashingDarwin.cpp"] UNIFIED_SOURCES += ["TestNetworkLinkIdHashingDarwin.cpp"]

View file

@ -68,6 +68,7 @@ UNIFIED_SOURCES += [
"TestThreadManager.cpp", "TestThreadManager.cpp",
"TestThreadPool.cpp", "TestThreadPool.cpp",
"TestThreadPoolListener.cpp", "TestThreadPoolListener.cpp",
"TestThreadUtils.cpp",
"TestThrottledEventQueue.cpp", "TestThrottledEventQueue.cpp",
"TestTimeStamp.cpp", "TestTimeStamp.cpp",
"TestTokenizer.cpp", "TestTokenizer.cpp",
@ -81,18 +82,12 @@ if CONFIG["OS_TARGET"] != "Android":
"TestThreads.cpp", "TestThreads.cpp",
] ]
# skip the test on windows10-aarch64 due to perma-fail, bug 1422219
if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"):
UNIFIED_SOURCES += ["TestThreadUtils.cpp"]
# skip the test on OSX due to frequent failures (bug 1571186) # skip the test on OSX due to frequent failures (bug 1571186)
if CONFIG["OS_TARGET"] != "Darwin": if CONFIG["OS_TARGET"] != "Darwin":
UNIFIED_SOURCES += ["TestExpirationTracker.cpp"] UNIFIED_SOURCES += ["TestExpirationTracker.cpp"]
# skip the test on windows10-aarch64 and Android, aarch64 due to bug 1545670 # skip the test on windows10-aarch64 and Android, aarch64 due to bug 1545670
if CONFIG["OS_TARGET"] != "Android" and not ( if CONFIG["OS_TARGET"] != "Android":
CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64"
):
UNIFIED_SOURCES += ["TestTimers.cpp"] UNIFIED_SOURCES += ["TestTimers.cpp"]