Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Issue 2352063002: Fix modules_unittests on iOS. (Closed)

Created:
4 years, 3 months ago by kthelgason
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, Andrew MacDonald, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, mflodman, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1, magjed_webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix modules_unittests on iOS. Some of the module tests were failing on iOS, causing them to be ignored on the trybots. Specifically this CL: - Skips some tests that should not run on the simulator - Fixes iOS file system test helpers - Fixes failing nalu parser unittest BUG=webrtc:4752 R=henrika@webrtc.org, peah@webrtc.org, sprang@webrtc.org TBR=tkchin@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/470c0887b334f1b859f2fd0055ab840370f5cc7e

Patch Set 1 #

Total comments: 9

Patch Set 2 : fix sizes #

Total comments: 2

Patch Set 3 : fix the fixed sizes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M webrtc/modules/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/audio_processing_unittest.cc View 2 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/test/debug_dump_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/test/testsupport/fileutils.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M webrtc/test/testsupport/iosfileutils.mm View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
kthelgason
4 years, 3 months ago (2016-09-20 13:01:54 UTC) #2
henrika_webrtc
Thanks for fixing. LGTM but I am not an owner in modules/audio_processing or modules/video_coding. Just ...
4 years, 3 months ago (2016-09-20 14:16:38 UTC) #4
kthelgason
Add some more reviewers for good measure
4 years, 3 months ago (2016-09-21 07:57:53 UTC) #6
sprang_webrtc
lgtm https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (right): https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc#newcode270 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc:270: NaluType second_nalu_type = ParseNaluType(annexb_buffer[9]); nit: Use named constants ...
4 years, 3 months ago (2016-09-21 08:05:33 UTC) #7
peah-webrtc
On 2016/09/21 08:05:33, språng wrote: > lgtm > > https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc > File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (right): > ...
4 years, 3 months ago (2016-09-21 09:26:07 UTC) #8
tkchin_webrtc
https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/audio_processing/audio_processing_unittest.cc File webrtc/modules/audio_processing/audio_processing_unittest.cc (right): https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/audio_processing/audio_processing_unittest.cc#newcode407 webrtc/modules/audio_processing/audio_processing_unittest.cc:407: // On iOS test data is flat in the ...
4 years, 2 months ago (2016-09-27 11:01:47 UTC) #9
kthelgason
https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/audio_processing/audio_processing_unittest.cc File webrtc/modules/audio_processing/audio_processing_unittest.cc (right): https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/audio_processing/audio_processing_unittest.cc#newcode407 webrtc/modules/audio_processing/audio_processing_unittest.cc:407: // On iOS test data is flat in the ...
4 years, 2 months ago (2016-09-27 11:10:32 UTC) #10
tkchin_webrtc
https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/audio_processing/audio_processing_unittest.cc File webrtc/modules/audio_processing/audio_processing_unittest.cc (right): https://codereview.webrtc.org/2352063002/diff/1/webrtc/modules/audio_processing/audio_processing_unittest.cc#newcode407 webrtc/modules/audio_processing/audio_processing_unittest.cc:407: // On iOS test data is flat in the ...
4 years, 2 months ago (2016-09-27 13:51:56 UTC) #11
kthelgason
On 2016/09/27 13:51:56, tkchin_webrtc wrote: > On 2016/09/27 11:10:31, kthelgason wrote: > > Probably. I ...
4 years, 2 months ago (2016-09-27 14:47:20 UTC) #12
kthelgason
Updated. PTAL
4 years, 2 months ago (2016-09-28 08:05:34 UTC) #14
kthelgason
Updated. PTAL
4 years, 2 months ago (2016-09-28 08:05:35 UTC) #15
tkchin_webrtc
https://codereview.webrtc.org/2352063002/diff/40001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (right): https://codereview.webrtc.org/2352063002/diff/40001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc#newcode267 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc:267: // Start code + access unit delimiter + start ...
4 years, 2 months ago (2016-09-28 10:35:02 UTC) #16
kthelgason
https://codereview.webrtc.org/2352063002/diff/40001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (right): https://codereview.webrtc.org/2352063002/diff/40001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc#newcode267 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc:267: // Start code + access unit delimiter + start ...
4 years, 2 months ago (2016-09-28 10:46:45 UTC) #17
kthelgason
Can I get one last final lgtm?
4 years, 2 months ago (2016-09-30 07:44:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2352063002/80001
4 years, 2 months ago (2016-10-03 09:09:48 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 2 months ago (2016-10-03 11:10:14 UTC) #25
kthelgason
Committed patchset #3 (id:80001) manually as 470c0887b334f1b859f2fd0055ab840370f5cc7e (presubmit successful).
4 years, 2 months ago (2016-10-03 11:13:40 UTC) #28
kjellander_webrtc
On 2016/10/03 11:13:40, kthelgason wrote: > Committed patchset #3 (id:80001) manually as > 470c0887b334f1b859f2fd0055ab840370f5cc7e (presubmit ...
4 years, 2 months ago (2016-10-03 11:23:13 UTC) #29
kthelgason
4 years, 2 months ago (2016-10-03 11:26:32 UTC) #30
Message was sent while issue was closed.
On 2016/10/03 11:23:13, kjellander_webrtc wrote:
> So did this fix all the failures? Then we should be able to add it into
>
https://chromium.googlesource.com/external/webrtc/+/master/webrtc/build/ios/t...
> right?

Yes, at least in theory!

> Just do that in a follow-up CL (only need to run the iOS simulator
> trybots for that one).

I will send you a CL to review soon.

Powered by Google App Engine
This is Rietveld 408576698