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

Issue 670863002: Rebase oscillator sine test result. (Closed)

Created:
6 years, 2 months ago by Raymond Toy
Modified:
6 years, 1 month ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Rebase oscillator sine test result. Manually compared this new result against the linux result and they differ by about 2 units, which is expected. The old result appears to have a completely incorrect frequency sweep. Also added a new test for oscillator that uses SNR and max difference to compare the expected and actual result. This is a bit more robust with different numerical results and makes it easier to tell if something is totally wrong or just slightly wrong for the oscillator-sine test. Removed oscillator-sine; it seems very sensitive to numerics of the platform, and I think the new osc-sine-sweep-snr test is robust enough to catch errors The other oscillator tests are just updated to match the change in api in oscillator-testing.js to support passing in the context so different check routines can be used for the test. BUG=425744, 431688, 309197 TESTS=osc-sine-sweep-snr.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185249

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Rebase and update TestExpectations #

Total comments: 4

Patch Set 7 : Address review comments #

Patch Set 8 : WIP #

Patch Set 9 : Remove oscillator-sine test in favor of osc-sine-sweep-snr #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -47 lines) Patch
M LayoutTests/FlakyTests View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M LayoutTests/TestExpectations View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
D LayoutTests/platform/android/webaudio/oscillator-sine-expected.wav View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
D LayoutTests/platform/linux-x86/webaudio/oscillator-sine-expected.wav View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
D LayoutTests/platform/linux/webaudio/oscillator-sine-expected.wav View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
M LayoutTests/platform/win/webaudio/oscillator-sine-expected.wav View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A LayoutTests/webaudio/osc-sine-sweep-snr.html View 1 2 3 4 5 6 7 8 9 1 chunk +131 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/osc-sine-sweep-snr-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/webaudio/oscillator-custom.html View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M LayoutTests/webaudio/oscillator-sawtooth.html View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M LayoutTests/webaudio/oscillator-sine.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -30 lines 0 comments Download
M LayoutTests/webaudio/oscillator-sine-expected.wav View 1 2 3 4 5 6 7 Binary file 0 comments Download
M LayoutTests/webaudio/oscillator-square.html View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M LayoutTests/webaudio/oscillator-triangle.html View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M LayoutTests/webaudio/resources/oscillator-testing.js View 1 2 3 2 chunks +1 line, -9 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Raymond Toy
PTAL
6 years, 1 month ago (2014-11-11 16:54:42 UTC) #2
Ken Russell (switch to Gerrit)
LGTM
6 years, 1 month ago (2014-11-11 18:50:12 UTC) #3
hongchan
lgtm LGTM with nits. https://codereview.chromium.org/670863002/diff/100001/LayoutTests/webaudio/osc-sine-sweep-snr.html File LayoutTests/webaudio/osc-sine-sweep-snr.html (right): https://codereview.chromium.org/670863002/diff/100001/LayoutTests/webaudio/osc-sine-sweep-snr.html#newcode13 LayoutTests/webaudio/osc-sine-sweep-snr.html:13: // See oscillator-sine.html for more ...
6 years, 1 month ago (2014-11-11 19:03:14 UTC) #4
Raymond Toy
Thanks for the review https://codereview.chromium.org/670863002/diff/100001/LayoutTests/webaudio/osc-sine-sweep-snr.html File LayoutTests/webaudio/osc-sine-sweep-snr.html (right): https://codereview.chromium.org/670863002/diff/100001/LayoutTests/webaudio/osc-sine-sweep-snr.html#newcode13 LayoutTests/webaudio/osc-sine-sweep-snr.html:13: // See oscillator-sine.html for more ...
6 years, 1 month ago (2014-11-11 19:48:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/670863002/120001
6 years, 1 month ago (2014-11-11 19:49:10 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/35900)
6 years, 1 month ago (2014-11-11 22:16:41 UTC) #9
Raymond Toy
For whatever reason, the bots didn't like the new reference file even though the previous ...
6 years, 1 month ago (2014-11-11 22:35:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/670863002/180001
6 years, 1 month ago (2014-11-12 21:26:23 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 22:16:38 UTC) #13
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as 185249

Powered by Google App Engine
This is Rietveld 408576698