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

Issue 106873003: Rework how webcrypto tests are disabled for inprogress OpenSSL implementation. (Closed)

Created:
7 years ago by eroman
Modified:
7 years ago
Reviewers:
padolph, Ryan Sleevi
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Rework how webcrypto tests are disabled for inprogress OpenSSL implementation. Rather than preventing compilation of the test code, mark the test as disabled. BUG=245025 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241132

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : use NSSONLY() macro to change test name #

Patch Set 4 : fix the macro #

Total comments: 1

Patch Set 5 : Rebase and rename to MAYBE() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -51 lines) Patch
M content/renderer/webcrypto/webcrypto_impl_unittest.cc View 1 2 3 4 22 chunks +31 lines, -51 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
eroman
Minor change for readabilty. I can abandon if you disagree.
7 years ago (2013-12-06 00:21:43 UTC) #1
Ryan Sleevi
NACK. If #ifdef approach keeps the code compiled out entirely. Much easier to reason and ...
7 years ago (2013-12-06 19:33:41 UTC) #2
eroman
I disagree. The interface being tested is platform-neutral, so compilation is not an issue. It ...
7 years ago (2013-12-06 19:50:52 UTC) #3
eroman
Spoke with Ryan about this, and he would tolerate an approach like: #if defined(USE_OPENSSL) #define ...
7 years ago (2013-12-06 20:14:36 UTC) #4
padolph
As a data point, I keep running into problems passing the Android build because of ...
7 years ago (2013-12-06 20:14:44 UTC) #5
padolph
Streams crossed. If we can't do Eric's original proposal, I agree keeping what we have ...
7 years ago (2013-12-06 20:22:14 UTC) #6
eroman
PTAL. I have updated the changelist to move disabling knowledge to where the test is ...
7 years ago (2013-12-06 21:43:14 UTC) #7
padolph
On 2013/12/06 21:43:14, eroman wrote: > PTAL. > > I have updated the changelist to ...
7 years ago (2013-12-06 21:49:32 UTC) #8
padolph
(manual email) On 2013/12/06 21:43:14, eroman wrote: > PTAL. > > I have updated the ...
7 years ago (2013-12-06 21:50:10 UTC) #9
padolph
lgtm
7 years ago (2013-12-07 00:48:38 UTC) #10
Ryan Sleevi
https://codereview.chromium.org/106873003/diff/100001/content/renderer/webcrypto/webcrypto_impl_unittest.cc File content/renderer/webcrypto/webcrypto_impl_unittest.cc (right): https://codereview.chromium.org/106873003/diff/100001/content/renderer/webcrypto/webcrypto_impl_unittest.cc#newcode31 content/renderer/webcrypto/webcrypto_impl_unittest.cc:31: #endif Please do not use macros like this. As ...
7 years ago (2013-12-08 05:20:47 UTC) #11
eroman
I don't understand the argument for repeating the test name 4 times...
7 years ago (2013-12-09 18:11:30 UTC) #12
eroman
If the concern is that this isn't idiomatic chromium code, I disagree. There are plenty ...
7 years ago (2013-12-09 18:38:40 UTC) #13
eroman
ping
7 years ago (2013-12-16 21:01:00 UTC) #14
Ryan Sleevi
On 2013/12/16 21:01:00, eroman wrote: > ping Rather than calling the macro NSSONLY, let's go ...
7 years ago (2013-12-16 21:13:24 UTC) #15
eroman
Done -- renamed to MAYBE()
7 years ago (2013-12-16 21:31:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/106873003/140001
7 years ago (2013-12-16 21:32:35 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=205276
7 years ago (2013-12-17 00:07:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/106873003/140001
7 years ago (2013-12-17 00:18:23 UTC) #19
commit-bot: I haz the power
7 years ago (2013-12-17 03:27:54 UTC) #20
Message was sent while issue was closed.
Change committed as 241132

Powered by Google App Engine
This is Rietveld 408576698