|
|
Created:
4 years, 4 months ago by ehmaldonado_webrtc Modified:
4 years, 4 months ago CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc Base URL:
https://chromium.googlesource.com/external/webrtc.git@master Target Ref:
refs/pending/heads/master Project:
webrtc Visibility:
Public. |
DescriptionRefactor neteq_test_support.
Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support.
BUG=webrtc:6228
NOTRY=True
Committed: https://crrev.com/861da3c662896ffb77754e396474ecc35b7f21d1
Cr-Commit-Position: refs/heads/master@{#13831}
Patch Set 1 #Patch Set 2 : Refactor neteq_test_support. #Patch Set 3 : Rebasing. #Patch Set 4 : Remove unused dependencies. #Patch Set 5 : Remove unused dependencies (2). #
Messages
Total messages: 27 (15 generated)
ehmaldonado@webrtc.org changed reviewers: + kjellander@webrtc.org
PTAL I haven't filed a bug yet.
henrik.lundin@webrtc.org changed reviewers: + henrik.lundin@webrtc.org
not lgtm The flag validators look unused, but this is the pattern recommended in gflags to define validators for flag values. See https://github.com/gflags/gflags/blob/master/src/gflags.h.in#L108. With your patch, invalid parameter values are no longer caught when the flags are parsed.
Description was changed from ========== Remove flag validators from neteq_quality_test.cc. When built with GYP as a part of modules_unittests, these are never invoked. BUG= ========== to ========== Remove flag validators from neteq_quality_test.cc. When built with GYP as a part of modules_unittests, these are never invoked. BUG=webrtc:6228 ==========
On 2016/08/18 15:09:11, hlundin-webrtc wrote: > not lgtm > > The flag validators look unused, but this is the pattern recommended in gflags > to define validators for flag values. See > https://github.com/gflags/gflags/blob/master/src/gflags.h.in#L108. > > With your patch, invalid parameter values are no longer caught when the flags > are parsed. I added BUG=webrtc:6228 to the CL description. I agree with Henrik L that just removing all the validators is not the right solution here. I think Edward did this CL because I said we need to be unblocked with the GN migration, but there has to be a better explanation of why the validators are behaving differently when built with GYP/GN. I posted a comment in https://codereview.webrtc.org/2254143003/ with more information regarding why they seem unused for modules_unittests.
Patchset #2 (id:20001) has been deleted
On 2016/08/19 07:22:00, kjellander_webrtc wrote: > On 2016/08/18 15:09:11, hlundin-webrtc wrote: > > not lgtm > > > > The flag validators look unused, but this is the pattern recommended in gflags > > to define validators for flag values. See > > https://github.com/gflags/gflags/blob/master/src/gflags.h.in#L108. > > > > With your patch, invalid parameter values are no longer caught when the flags > > are parsed. > > I added BUG=webrtc:6228 to the CL description. I agree with Henrik L that just > removing all the validators is not the right solution here. > I think Edward did this CL because I said we need to be unblocked with the GN > migration, but there has to be a better explanation of why the validators are > behaving differently when built with GYP/GN. I posted a comment in > https://codereview.webrtc.org/2254143003/ with more information regarding why > they seem unused for modules_unittests. What would you think of something like this? I've pulled 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' into its own target, neteq_quality_test_support, and add it to the tests that use it.
Description was changed from ========== Remove flag validators from neteq_quality_test.cc. When built with GYP as a part of modules_unittests, these are never invoked. BUG=webrtc:6228 ========== to ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 ==========
Lgtm if Henrik L is happy. Are all the dependencies for the new target needed.
On 2016/08/19 09:16:18, kjellander_webrtc wrote: > Lgtm if Henrik L is happy. Are all the dependencies for the new target needed. Good question. I'll take a look.
Patchset #5 (id:100001) has been deleted
Patchset #5 (id:120001) has been deleted
Patchset #4 (id:80001) has been deleted
lgtm
The CQ bit was checked by ehmaldonado@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from kjellander@webrtc.org Link to the patchset: https://codereview.webrtc.org/2252413002/#ps160001 (title: "Remove unused dependencies (2).")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
Description was changed from ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 ========== to ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 NOTRY=True ==========
The CQ bit was checked by ehmaldonado@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Message was sent while issue was closed.
Description was changed from ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 NOTRY=True ========== to ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 NOTRY=True ==========
Message was sent while issue was closed.
Committed patchset #5 (id:160001)
Message was sent while issue was closed.
Description was changed from ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 NOTRY=True ========== to ========== Refactor neteq_test_support. Take 'tools/neteq_quality_test.cc' and 'tools/neteq_quality_test.h' outside of neteq_test_support into their own target, neteq_quality_test_support. BUG=webrtc:6228 NOTRY=True Committed: https://crrev.com/861da3c662896ffb77754e396474ecc35b7f21d1 Cr-Commit-Position: refs/heads/master@{#13831} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/861da3c662896ffb77754e396474ecc35b7f21d1 Cr-Commit-Position: refs/heads/master@{#13831} |