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

Unified Diff: tests/MathTest.cpp

Issue 1020573002: Let's find out what's up with the TSAN bot test failures. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: errorf Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/MathTest.cpp
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp
index 4347096ea54b62cdba8bc47a6d35fb1a7f8a1249..772bade1856cbe8b70bbc32eb8125419047372c9 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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698