aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/MathTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-03-18 11:32:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-18 11:32:21 -0700
commit97ca98d74e1a79798d7786cd4716c779380dc57f (patch)
treedc5c18deda2ed78d703979da1c17c30414961325 /tests/MathTest.cpp
parenteed039b5ffbdff958053ac80b09451ad6caa1787 (diff)
Let's find out what's up with the TSAN bot test failures.
Diffstat (limited to 'tests/MathTest.cpp')
-rw-r--r--tests/MathTest.cpp3
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);
}