• Clemens Hammacher's avatar
    [test] Fix CHECK_DOUBLE_EQ and CHECK_FLOAT_EQ · fa0e55e2
    Clemens Hammacher authored
    Both macros currently call a function with individual CHECKs, which
    makes error messages only show that one part of the equality check (and
    not the the actual float values), and hides the actual location of the
    check.
    This CL refactors this such that the actual value is shown (just as
    with other CHECK_EQ macros) and it shows the right file name and line
    number.
    
    R=ahaas@chromium.org
    
    Bug: v8:7570
    Change-Id: I198e73c053178a09f14330a18069463760693f81
    Reviewed-on: https://chromium-review.googlesource.com/1027879Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52832}
    fa0e55e2
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...