Let's find out what's up with the TSAN bot test failures.
BUG=skia:
Review URL: https://codereview.chromium.org/1020573002
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp
index 4347096..772bade 100644
--- a/tests/MathTest.cpp
+++ b/tests/MathTest.cpp
@@ -537,6 +537,9 @@
} 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);
}