зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1318091 - Disable failing android gtests; r=bc
Disable gtests observed to fail on Android. Some of these are simple build failures and failures due to file permissions or paths, while other failures are more obscure. Once Android gtests are running on mozilla-central, I will file follow-up bugs inviting teams to investigate the failures and re-enable Android gtests that are important to them. Differential Revision: https://phabricator.services.mozilla.com/D26606 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d497a06e29
Коммит
8d88b9a596
|
@ -24,26 +24,17 @@ UNIFIED_SOURCES += [
|
|||
'TestBitWriter.cpp',
|
||||
'TestBlankVideoDataCreator.cpp',
|
||||
'TestBufferReader.cpp',
|
||||
'TestCDMStorage.cpp',
|
||||
'TestDataMutex.cpp',
|
||||
'TestDriftCompensation.cpp',
|
||||
'TestGMPCrossOrigin.cpp',
|
||||
'TestGMPRemoveAndDelete.cpp',
|
||||
'TestGMPUtils.cpp',
|
||||
'TestGroupId.cpp',
|
||||
'TestIntervalSet.cpp',
|
||||
'TestMediaDataDecoder.cpp',
|
||||
'TestMediaDataEncoder.cpp',
|
||||
'TestMediaEventSource.cpp',
|
||||
'TestMediaMIMETypes.cpp',
|
||||
'TestMP3Demuxer.cpp',
|
||||
'TestMP4Demuxer.cpp',
|
||||
'TestOpusParser.cpp',
|
||||
'TestRust.cpp',
|
||||
'TestVideoSegment.cpp',
|
||||
'TestVideoUtils.cpp',
|
||||
'TestVPXDecoding.cpp',
|
||||
'TestWebMBuffered.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WEBM_ENCODER']:
|
||||
|
@ -56,7 +47,20 @@ if CONFIG['MOZ_WEBM_ENCODER']:
|
|||
'/gfx/2d/',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WEBRTC']:
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestCDMStorage.cpp',
|
||||
'TestGMPCrossOrigin.cpp',
|
||||
'TestGMPRemoveAndDelete.cpp',
|
||||
'TestMediaDataDecoder.cpp',
|
||||
'TestMediaDataEncoder.cpp',
|
||||
'TestMP3Demuxer.cpp',
|
||||
'TestMP4Demuxer.cpp',
|
||||
'TestVPXDecoding.cpp',
|
||||
'TestWebMBuffered.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WEBRTC'] and CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestAudioDeviceEnumerator.cpp',
|
||||
'TestVideoFrameConverter.cpp',
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
Library('mp4_demuxer_gtest')
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
SOURCES += [
|
||||
'TestInterval.cpp',
|
||||
'TestParser.cpp',
|
||||
|
@ -48,7 +49,9 @@ TEST_HARNESS_FILES.gtest += [
|
|||
'test_case_1519617-video-has-track_id-0.mp4',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += ['TestMP4.cpp',]
|
||||
|
||||
TEST_HARNESS_FILES.gtest += [
|
||||
'../../test/street.mp4',
|
||||
]
|
||||
|
|
|
@ -5,18 +5,22 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'TestBasic.cpp',
|
||||
'TestEventRegions.cpp',
|
||||
'TestGestureDetector.cpp',
|
||||
'TestHitTesting.cpp',
|
||||
'TestInputQueue.cpp',
|
||||
'TestPanning.cpp',
|
||||
'TestPinching.cpp',
|
||||
'TestScrollHandoff.cpp',
|
||||
'TestSnapping.cpp',
|
||||
'TestTreeManager.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestBasic.cpp',
|
||||
'TestGestureDetector.cpp',
|
||||
'TestPinching.cpp',
|
||||
'TestScrollHandoff.cpp',
|
||||
]
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
|
|
|
@ -13,24 +13,28 @@ UNIFIED_SOURCES += [
|
|||
'TestBSPTree.cpp',
|
||||
'TestBufferRotation.cpp',
|
||||
'TestColorNames.cpp',
|
||||
'TestCompositor.cpp',
|
||||
'TestGfxPrefs.cpp',
|
||||
'TestGfxWidgets.cpp',
|
||||
'TestJobScheduler.cpp',
|
||||
'TestLayers.cpp',
|
||||
'TestMoz2D.cpp',
|
||||
'TestPolygon.cpp',
|
||||
'TestQcms.cpp',
|
||||
'TestRect.cpp',
|
||||
'TestRegion.cpp',
|
||||
'TestSkipChars.cpp',
|
||||
'TestSwizzle.cpp',
|
||||
'TestTextureCompatibility.cpp',
|
||||
'TestTextures.cpp',
|
||||
'TestTreeTraversal.cpp',
|
||||
'TestVsync.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestCompositor.cpp',
|
||||
'TestGfxPrefs.cpp',
|
||||
'TestRect.cpp',
|
||||
'TestTextureCompatibility.cpp',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [ '/gfx/2d/unittest/%s' % p for p in [
|
||||
'TestBase.cpp',
|
||||
'TestBugs.cpp',
|
||||
|
|
|
@ -11,19 +11,23 @@ UNIFIED_SOURCES = [
|
|||
'TestADAM7InterpolatingFilter.cpp',
|
||||
'TestAnimationFrameBuffer.cpp',
|
||||
'TestBlendAnimationFilter.cpp',
|
||||
'TestContainers.cpp',
|
||||
'TestCopyOnWrite.cpp',
|
||||
'TestDeinterlacingFilter.cpp',
|
||||
'TestLoader.cpp',
|
||||
'TestRemoveFrameRectFilter.cpp',
|
||||
'TestStreamingLexer.cpp',
|
||||
'TestSurfaceSink.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestContainers.cpp',
|
||||
'TestDecoders.cpp',
|
||||
'TestDecodeToSurface.cpp',
|
||||
'TestDeinterlacingFilter.cpp',
|
||||
'TestFrameAnimator.cpp',
|
||||
'TestLoader.cpp',
|
||||
'TestMetadata.cpp',
|
||||
'TestRemoveFrameRectFilter.cpp',
|
||||
'TestSourceBuffer.cpp',
|
||||
'TestStreamingLexer.cpp',
|
||||
'TestSurfaceCache.cpp',
|
||||
'TestSurfaceSink.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_ENABLE_SKIA']:
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# 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/.
|
||||
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestAccessibleCaretEventHub.cpp',
|
||||
'TestAccessibleCaretManager.cpp',
|
||||
|
|
|
@ -12,7 +12,7 @@ UNIFIED_SOURCES += [
|
|||
'test_utils.cpp'
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_PULSEAUDIO'] or CONFIG['OS_TARGET'] in ('Darwin', 'WINNT', 'Android'):
|
||||
if CONFIG['MOZ_PULSEAUDIO'] or CONFIG['OS_TARGET'] in ('Darwin', 'WINNT'):
|
||||
UNIFIED_SOURCES += [
|
||||
'test_resampler.cpp',
|
||||
]
|
||||
|
|
|
@ -7,9 +7,14 @@
|
|||
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',
|
||||
'ice_unittest.cpp',
|
||||
'multi_tcp_socket_unittest.cpp',
|
||||
'nrappkit_unittest.cpp',
|
||||
'proxy_tunnel_socket_unittest.cpp',
|
||||
|
|
|
@ -10,16 +10,20 @@ UNIFIED_SOURCES += [
|
|||
'TestHttpAuthUtils.cpp',
|
||||
'TestIsValidIp.cpp',
|
||||
'TestMIMEInputStream.cpp',
|
||||
'TestMozURL.cpp',
|
||||
'TestPACMan.cpp',
|
||||
'TestPartiallySeekableInputStream.cpp',
|
||||
'TestProtocolProxyService.cpp',
|
||||
'TestReadStreamToString.cpp',
|
||||
'TestServerTimingHeader.cpp',
|
||||
'TestStandardURL.cpp',
|
||||
'TestURIMutator.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestMozURL.cpp',
|
||||
'TestServerTimingHeader.cpp',
|
||||
]
|
||||
|
||||
TEST_HARNESS_FILES.gtest += [
|
||||
'urltestdata.json',
|
||||
]
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
# 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/.
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestParseFTPList.cpp',
|
||||
]
|
||||
|
|
|
@ -13,6 +13,10 @@ LOCAL_INCLUDES += [
|
|||
UNIFIED_SOURCES = [
|
||||
'TelemetryFixture.cpp',
|
||||
'TelemetryTestHelpers.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestCombinedStacks.cpp',
|
||||
'TestCounters.cpp',
|
||||
'TestEvents.cpp',
|
||||
|
|
|
@ -12,7 +12,7 @@ UNIFIED_SOURCES += [
|
|||
'TestProfileLock.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'Linux':
|
||||
if CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestProfileLockRetry.cpp',
|
||||
]
|
||||
|
|
|
@ -18,6 +18,7 @@ LOCAL_INCLUDES += [
|
|||
'/tools/profiler/lul',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'GeckoProfiler.cpp',
|
||||
'ThreadProfileTest.cpp',
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
UNIFIED_SOURCES += [
|
||||
'Helpers.cpp',
|
||||
'TestArenaAllocator.cpp',
|
||||
'TestAtoms.cpp',
|
||||
'TestAutoPtr.cpp',
|
||||
'TestAutoRef.cpp',
|
||||
'TestAutoRefCnt.cpp',
|
||||
'TestBase64.cpp',
|
||||
'TestCallTemplates.cpp',
|
||||
'TestCloneInputStream.cpp',
|
||||
'TestCOMPtrEq.cpp',
|
||||
|
@ -46,7 +44,6 @@ UNIFIED_SOURCES += [
|
|||
'TestSnappyStreams.cpp',
|
||||
'TestStateWatching.cpp',
|
||||
'TestStorageStream.cpp',
|
||||
'TestStrings.cpp',
|
||||
'TestStringStream.cpp',
|
||||
'TestSynchronization.cpp',
|
||||
'TestTArray.cpp',
|
||||
|
@ -57,15 +54,22 @@ UNIFIED_SOURCES += [
|
|||
'TestThreadMetrics.cpp',
|
||||
'TestThreadPool.cpp',
|
||||
'TestThreadPoolListener.cpp',
|
||||
'TestThreads.cpp',
|
||||
'TestThreadUtils.cpp',
|
||||
'TestThrottledEventQueue.cpp',
|
||||
'TestTimers.cpp',
|
||||
'TestTimeStamp.cpp',
|
||||
'TestTokenizer.cpp',
|
||||
'TestUTF.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestAtoms.cpp',
|
||||
'TestBase64.cpp',
|
||||
'TestStrings.cpp',
|
||||
'TestThreads.cpp',
|
||||
'TestTimers.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_DEBUG'] and CONFIG['OS_ARCH'] not in ('WINNT') and CONFIG['OS_TARGET'] != 'Android':
|
||||
# FIXME bug 523392: TestDeadlockDetector doesn't like Windows
|
||||
# Bug 1054249: Doesn't work on Android
|
||||
|
@ -84,7 +88,7 @@ else:
|
|||
]
|
||||
|
||||
|
||||
if CONFIG['WRAP_STL_INCLUDES'] and CONFIG['CC_TYPE'] != 'clang-cl':
|
||||
if CONFIG['WRAP_STL_INCLUDES'] and CONFIG['CC_TYPE'] != 'clang-cl' and CONFIG['OS_TARGET'] != 'Android':
|
||||
UNIFIED_SOURCES += [
|
||||
'TestSTLWrappers.cpp',
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче