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

Issue 890473002: Add build targets for Opus tests. (Closed)

Created:
5 years, 10 months ago by wtc
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add build targets for Opus tests. test_opus_api, test_opus_encode, test_opus_decode, and test_opus_padding can be run directly, with no command-line options, and they print out "OK" during the test and an overall status message such as "All API tests passed." or "Tests completed successfully." at the end. The celt component has several unit tests. I didn't add build targets for them because some of them don't print any output, so you'd need a test harness script to examine their exit status. R=henrika@chromium.org,sergeyu@chromium.org BUG=452984 Committed: https://crrev.com/bfcc6156a8f2107ecd70445b08e60299737caffa Cr-Commit-Position: refs/heads/master@{#313964}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use 'target_defaults' in opus.gyp. #

Patch Set 3 : Add a GN config for test programs. #

Total comments: 3

Patch Set 4 : Use "test" instead of "executable" for test programs. #

Total comments: 1

Patch Set 5 : An experiment to not use 'link_settings' inside 'target_conditions'. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -70 lines) Patch
M third_party/opus/BUILD.gn View 1 2 3 4 chunks +86 lines, -28 lines 0 comments Download
M third_party/opus/opus.gyp View 1 2 3 4 3 chunks +67 lines, -42 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
wtc
Please review. Is there a way to share code between these build targets? I am ...
5 years, 10 months ago (2015-01-29 03:09:19 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/890473002/diff/1/third_party/opus/BUILD.gn File third_party/opus/BUILD.gn (right): https://codereview.chromium.org/890473002/diff/1/third_party/opus/BUILD.gn#newcode234 third_party/opus/BUILD.gn:234: include_dirs = [ These settings are duplicated between test ...
5 years, 10 months ago (2015-01-29 18:12:21 UTC) #2
brettw
lgtm https://codereview.chromium.org/890473002/diff/40001/third_party/opus/BUILD.gn File third_party/opus/BUILD.gn (right): https://codereview.chromium.org/890473002/diff/40001/third_party/opus/BUILD.gn#newcode219 third_party/opus/BUILD.gn:219: executable("test_opus_api") { Can you do "test" instead of ...
5 years, 10 months ago (2015-01-29 20:25:30 UTC) #4
Sergey Ulanov
lgtm
5 years, 10 months ago (2015-01-29 21:00:38 UTC) #5
wtc
Please review patch set 4. https://codereview.chromium.org/890473002/diff/1/third_party/opus/BUILD.gn File third_party/opus/BUILD.gn (right): https://codereview.chromium.org/890473002/diff/1/third_party/opus/BUILD.gn#newcode234 third_party/opus/BUILD.gn:234: include_dirs = [ On ...
5 years, 10 months ago (2015-01-29 21:11:33 UTC) #6
brettw
LGTM https://codereview.chromium.org/890473002/diff/40001/third_party/opus/BUILD.gn File third_party/opus/BUILD.gn (right): https://codereview.chromium.org/890473002/diff/40001/third_party/opus/BUILD.gn#newcode219 third_party/opus/BUILD.gn:219: executable("test_opus_api") { > 2. These Opus test programs ...
5 years, 10 months ago (2015-01-30 19:02:30 UTC) #7
wtc
https://codereview.chromium.org/890473002/diff/60001/third_party/opus/opus.gyp File third_party/opus/opus.gyp (right): https://codereview.chromium.org/890473002/diff/60001/third_party/opus/opus.gyp#newcode50 third_party/opus/opus.gyp:50: 'link_settings': { Just wanted to explain why I had ...
5 years, 10 months ago (2015-01-30 19:32:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890473002/80001
5 years, 10 months ago (2015-01-30 19:33:29 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-30 19:37:54 UTC) #11
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/bfcc6156a8f2107ecd70445b08e60299737caffa Cr-Commit-Position: refs/heads/master@{#313964}
5 years, 10 months ago (2015-01-30 19:39:25 UTC) #12
please use gerrit instead
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/888963002/ by rouslan@chromium.org. ...
5 years, 10 months ago (2015-01-30 19:57:45 UTC) #13
brettw
:( Sorry about this wtc. Next time you can manually trigger the GN Mac bot. ...
5 years, 10 months ago (2015-01-30 21:33:07 UTC) #14
wtc
Brett: no worries. I didn't realize there are bots that build every target. Is it ...
5 years, 10 months ago (2015-01-30 22:00:38 UTC) #15
brettw
5 years, 10 months ago (2015-01-30 22:50:46 UTC) #16
Message was sent while issue was closed.
I think it's automatically included when using -Werror.

Powered by Google App Engine
This is Rietveld 408576698