diff options
author | mtklein <mtklein@chromium.org> | 2015-03-18 11:32:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-18 11:32:21 -0700 |
commit | 97ca98d74e1a79798d7786cd4716c779380dc57f (patch) | |
tree | dc5c18deda2ed78d703979da1c17c30414961325 /tests | |
parent | eed039b5ffbdff958053ac80b09451ad6caa1787 (diff) |
Let's find out what's up with the TSAN bot test failures.
BUG=skia:
Review URL: https://codereview.chromium.org/1020573002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/MathTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp index 4347096ea5..772bade185 100644 --- a/tests/MathTest.cpp +++ b/tests/MathTest.cpp @@ -537,6 +537,9 @@ DEF_TEST(Math, reporter) { } else if (check < -SK_MaxS32) { check = SK_MinS32; } + if (result != (int32_t)check) { + ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); + } REPORTER_ASSERT(reporter, result == (int32_t)check); } |