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

Issue 1506753002: [test] Test expectations in cctest should use CHECK and not DCHECK. (Closed)

Created:
5 years ago by Benedikt Meurer
Modified:
5 years ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Test expectations in cctest should use CHECK and not DCHECK. The test expectations should fail consistently in both release and debug builds. DCHECK is only meant for debug-only checks in production code. R=yangguo@chromium.org Committed: https://crrev.com/fc0a1a709c5a9e7dae6e86ba22a7c8ee4407526f Cr-Commit-Position: refs/heads/master@{#32639}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -344 lines) Patch
M test/cctest/compiler/c-signature.h View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 3 chunks +7 lines, -7 lines 0 comments Download
M test/cctest/compiler/test-instruction.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M test/cctest/compiler/test-loop-analysis.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-machine-operator-reducer.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-multiple-return.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-run-bytecode-graph-builder.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-alloc.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-api.cc View 8 chunks +9 lines, -9 lines 0 comments Download
M test/cctest/test-assembler-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-assembler-arm64.cc View 40 chunks +125 lines, -118 lines 0 comments Download
M test/cctest/test-assembler-mips.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M test/cctest/test-assembler-mips64.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/test-disasm-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-field-type-tracking.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-global-handles.cc View 8 chunks +61 lines, -61 lines 0 comments Download
M test/cctest/test-heap.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-inobject-slack-tracking.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-liveedit.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M test/cctest/test-macro-assembler-x64.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-parsing.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/test-regexp.cc View 3 chunks +30 lines, -30 lines 0 comments Download
M test/cctest/test-sampler-api.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-serialize.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-strings.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-transitions.cc View 5 chunks +15 lines, -5 lines 0 comments Download
M test/cctest/test-unboxed-doubles.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-utils-arm64.h View 5 chunks +13 lines, -13 lines 0 comments Download
M test/cctest/test-utils-arm64.cc View 11 chunks +12 lines, -12 lines 0 comments Download
M test/cctest/test-weakmaps.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-weaksets.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
Benedikt Meurer
5 years ago (2015-12-07 05:16:45 UTC) #1
Benedikt Meurer
Hey Yang, Easy (mechanical) cleanup. Please take a look. Thanks, Benedikt
5 years ago (2015-12-07 05:18:12 UTC) #2
Yang
On 2015/12/07 05:18:12, Benedikt Meurer wrote: > Hey Yang, > > Easy (mechanical) cleanup. > ...
5 years ago (2015-12-07 05:21:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1506753002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1506753002/1
5 years ago (2015-12-07 05:21:29 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-07 05:36:49 UTC) #6
commit-bot: I haz the power
5 years ago (2015-12-07 05:37:23 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/fc0a1a709c5a9e7dae6e86ba22a7c8ee4407526f
Cr-Commit-Position: refs/heads/master@{#32639}

Powered by Google App Engine
This is Rietveld 408576698