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

Issue 3000033002: Make isac_fix_test use gtest (in a hacky way) (Closed)

Created:
3 years, 4 months ago by oprypin_webrtc
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make isac_fix_test use gtest (in a hacky way) This test is the only remaining one that does not use gtest and that's blocking some infra cleanup tasks. Ideally this test would use webrtc/rtc_base/flags.h but that's a lot of unnecessary work. This also replaces some exit() status codes - the logic behind this is if you get incorrectly specified command line arguments, exit(1) is invoked for a failure, because it's not a test failure, and if flag parsing was done properly, it would not be a gtest failure anyway. BUG=webrtc:7568 Review-Url: https://codereview.webrtc.org/3000033002 Cr-Commit-Position: refs/heads/master@{#19388} Committed: https://chromium.googlesource.com/external/webrtc/+/168576be1eac18c781de809ddedcd0b78e86daf3

Patch Set 1 #

Patch Set 2 : Replace with gtest usage #

Patch Set 3 : Silence the error (as it was before) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -29 lines) Patch
M webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc View 1 2 21 chunks +37 lines, -29 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
oprypin_webrtc
3 years, 4 months ago (2017-08-16 13:59:42 UTC) #3
kjellander_webrtc
lgtm
3 years, 4 months ago (2017-08-16 14:53:14 UTC) #4
oprypin_webrtc
friendly ping - needs owners' review
3 years, 4 months ago (2017-08-17 09:47:16 UTC) #6
kwiberg-webrtc
There are a whole bunch of exit() calls---don't you need to replace them too with ...
3 years, 4 months ago (2017-08-17 09:53:29 UTC) #8
oprypin_webrtc
On 2017/08/17 09:53:29, kwiberg-webrtc wrote: > There are a whole bunch of exit() calls---don't you ...
3 years, 4 months ago (2017-08-17 11:02:20 UTC) #9
oprypin_webrtc
On 2017/08/17 11:02:20, oprypin_webrtc wrote: > On 2017/08/17 09:53:29, kwiberg-webrtc wrote: > > There are ...
3 years, 4 months ago (2017-08-17 11:05:09 UTC) #12
kwiberg-webrtc
Thanks! lgtm
3 years, 4 months ago (2017-08-17 11:16:14 UTC) #13
hlundin-webrtc
lgtm
3 years, 4 months ago (2017-08-17 11:18:12 UTC) #14
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/3000033002/20001
3 years, 4 months ago (2017-08-17 11:19:25 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_baremetal/builds/23545)
3 years, 4 months ago (2017-08-17 12:03:01 UTC) #19
kjellander_webrtc
On 2017/08/17 12:03:01, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 4 months ago (2017-08-17 12:35:34 UTC) #20
oprypin_webrtc
On 2017/08/17 12:35:34, kjellander_webrtc wrote: > On 2017/08/17 12:03:01, commit-bot: I haz the power wrote: ...
3 years, 4 months ago (2017-08-17 12:38:00 UTC) #21
oprypin_webrtc
On 2017/08/17 12:38:00, oprypin_webrtc wrote: > On 2017/08/17 12:35:34, kjellander_webrtc wrote: > > On 2017/08/17 ...
3 years, 4 months ago (2017-08-17 12:57:30 UTC) #22
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/3000033002/40001
3 years, 4 months ago (2017-08-17 12:58:40 UTC) #25
commit-bot: I haz the power
3 years, 4 months ago (2017-08-17 15:25:35 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/168576be1eac18c781de809dd...

Powered by Google App Engine
This is Rietveld 408576698