forked from mirrors/gecko-dev
Bug 1806946 - Skip GTests which fail when run under TSAN. r=profiler-reviewers,dom-storage-reviewers,tnikkel,xpcom-reviewers,ipc-reviewers,mccr8,janv,webrtc-reviewers,pehrsons,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D209175
This commit is contained in:
parent
3a0845c7c5
commit
0e07c8c08e
9 changed files with 62 additions and 23 deletions
|
|
@ -6,10 +6,15 @@
|
|||
|
||||
if CONFIG["OS_TARGET"] != "Android":
|
||||
UNIFIED_SOURCES += [
|
||||
"TestMultiWriterQueue.cpp",
|
||||
"TestRollingNumber.cpp",
|
||||
]
|
||||
|
||||
# Bug 1894309 - Fails under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"TestMultiWriterQueue.cpp",
|
||||
]
|
||||
|
||||
include("/ipc/chromium/chromium-config.mozbuild")
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ UNIFIED_SOURCES += [
|
|||
"MockMediaResource.cpp",
|
||||
"TestAudioBuffer.cpp",
|
||||
"TestAudioBuffers.cpp",
|
||||
"TestAudioCallbackDriver.cpp",
|
||||
"TestAudioCompactor.cpp",
|
||||
"TestAudioDecoderInputTrack.cpp",
|
||||
"TestAudioInputSource.cpp",
|
||||
|
|
@ -35,7 +34,6 @@ UNIFIED_SOURCES += [
|
|||
"TestAudioSegment.cpp",
|
||||
"TestAudioSinkWrapper.cpp",
|
||||
"TestAudioTrackEncoder.cpp",
|
||||
"TestAudioTrackGraph.cpp",
|
||||
"TestBenchmarkStorage.cpp",
|
||||
"TestBitWriter.cpp",
|
||||
"TestBlankVideoDataCreator.cpp",
|
||||
|
|
@ -74,6 +72,13 @@ UNIFIED_SOURCES += [
|
|||
"YUVBufferGenerator.cpp",
|
||||
]
|
||||
|
||||
# Bug 1894342 - Fails under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"TestAudioCallbackDriver.cpp",
|
||||
"TestAudioTrackGraph.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["MOZ_WEBRTC"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"TestAudioInputProcessing.cpp",
|
||||
|
|
|
|||
|
|
@ -7,34 +7,38 @@
|
|||
include("/ipc/chromium/chromium-config.mozbuild")
|
||||
|
||||
if CONFIG["OS_TARGET"] != "WINNT":
|
||||
if CONFIG["OS_TARGET"] != "Android":
|
||||
SOURCES += [
|
||||
"ice_unittest.cpp",
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"buffered_stun_socket_unittest.cpp",
|
||||
"multi_tcp_socket_unittest.cpp",
|
||||
"nrappkit_unittest.cpp",
|
||||
"proxy_tunnel_socket_unittest.cpp",
|
||||
"rlogconnector_unittest.cpp",
|
||||
"runnable_utils_unittest.cpp",
|
||||
"simpletokenbucket_unittest.cpp",
|
||||
"sockettransportservice_unittest.cpp",
|
||||
"stunserver.cpp",
|
||||
"test_nr_socket_ice_unittest.cpp",
|
||||
"test_nr_socket_unittest.cpp",
|
||||
"TestSyncRunnable.cpp",
|
||||
"transport_unittests.cpp",
|
||||
"turn_unittest.cpp",
|
||||
"webrtcproxychannel_unittest.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["MOZ_SCTP"]:
|
||||
SOURCES += [
|
||||
"sctp_unittest.cpp",
|
||||
]
|
||||
# Bug 1894419 - Various failures under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
if CONFIG["OS_TARGET"] != "Android":
|
||||
SOURCES += [
|
||||
"ice_unittest.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["MOZ_SCTP"]:
|
||||
SOURCES += [
|
||||
"sctp_unittest.cpp",
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"nrappkit_unittest.cpp",
|
||||
"rlogconnector_unittest.cpp",
|
||||
"sockettransportservice_unittest.cpp",
|
||||
"transport_unittests.cpp",
|
||||
"webrtcproxychannel_unittest.cpp",
|
||||
]
|
||||
|
||||
for var in ("HAVE_STRDUP", "NR_SOCKET_IS_VOID_PTR", "SCTP_DEBUG"):
|
||||
DEFINES[var] = True
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ UNIFIED_SOURCES = [
|
|||
"TestAnimationFrameBuffer.cpp",
|
||||
"TestBlendAnimationFilter.cpp",
|
||||
"TestCopyOnWrite.cpp",
|
||||
"TestDecoders.cpp",
|
||||
"TestDecodersPerf.cpp",
|
||||
"TestDecodeToSurface.cpp",
|
||||
"TestDeinterlacingFilter.cpp",
|
||||
|
|
@ -29,6 +28,12 @@ UNIFIED_SOURCES = [
|
|||
"TestSwizzleFilter.cpp",
|
||||
]
|
||||
|
||||
# Bug 1894284 - Fails under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"TestDecoders.cpp",
|
||||
]
|
||||
|
||||
TEST_HARNESS_FILES.gtest += [
|
||||
"animated-with-extra-image-sub-blocks.gif",
|
||||
"blend.avif",
|
||||
|
|
|
|||
|
|
@ -8,9 +8,14 @@ Library("ipcchromiumtest")
|
|||
|
||||
SOURCES += [
|
||||
"name_unittest.cc",
|
||||
"ports_unittest.cc",
|
||||
]
|
||||
|
||||
# Bug 1837550 - Fails under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
SOURCES += [
|
||||
"ports_unittest.cc",
|
||||
]
|
||||
|
||||
include("/ipc/chromium/chromium-config.mozbuild")
|
||||
|
||||
FINAL_LIBRARY = "xul-gtest"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ UNIFIED_SOURCES += [
|
|||
"test_asyncStatementExecution_transaction.cpp",
|
||||
"test_binding_params.cpp",
|
||||
"test_file_perms.cpp",
|
||||
"test_interruptSynchronousConnection.cpp",
|
||||
"test_mutex.cpp",
|
||||
"test_spinningSynchronousClose.cpp",
|
||||
"test_statement_scoper.cpp",
|
||||
|
|
@ -22,6 +21,12 @@ UNIFIED_SOURCES += [
|
|||
"test_unlock_notify.cpp",
|
||||
]
|
||||
|
||||
# Bug 1894261 - Fails under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"test_interruptSynchronousConnection.cpp",
|
||||
]
|
||||
|
||||
if (
|
||||
CONFIG["MOZ_DEBUG"]
|
||||
and CONFIG["OS_ARCH"] not in ("WINNT")
|
||||
|
|
|
|||
|
|
@ -12,7 +12,11 @@ UNIFIED_SOURCES += [
|
|||
"TestProfileLock.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["OS_ARCH"] == "Linux" and CONFIG["OS_TARGET"] != "Android":
|
||||
if (
|
||||
CONFIG["OS_ARCH"] == "Linux"
|
||||
and CONFIG["OS_TARGET"] != "Android"
|
||||
and not CONFIG["MOZ_TSAN"] # Bug 1894417
|
||||
):
|
||||
UNIFIED_SOURCES += [
|
||||
"TestProfileLockRetry.cpp",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ LOCAL_INCLUDES += [
|
|||
"/tools/profiler/lul",
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] != "Android":
|
||||
# Bug 1885381 - Hangs/timeouts under TSAN
|
||||
if CONFIG["OS_TARGET"] != "Android" and not CONFIG["MOZ_TSAN"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"GeckoProfiler.cpp",
|
||||
"ThreadProfileTest.cpp",
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@ UNIFIED_SOURCES += [
|
|||
"TestTaskQueue.cpp",
|
||||
"TestTextFormatter.cpp",
|
||||
"TestThreadManager.cpp",
|
||||
"TestThreadPool.cpp",
|
||||
"TestThreadPoolListener.cpp",
|
||||
"TestThreadUtils.cpp",
|
||||
"TestThrottledEventQueue.cpp",
|
||||
|
|
@ -76,6 +75,12 @@ UNIFIED_SOURCES += [
|
|||
"TestVariant.cpp",
|
||||
]
|
||||
|
||||
# Bug 1894540 - Fails under TSAN
|
||||
if not CONFIG["MOZ_TSAN"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"TestThreadPool.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] != "Android":
|
||||
UNIFIED_SOURCES += [
|
||||
"TestPipes.cpp",
|
||||
|
|
|
|||
Loading…
Reference in a new issue