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

Unified Diff: tests/KtxTest.cpp

Issue 687453005: not a failure if we didn't load the test file (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/KtxTest.cpp
diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp
index 1a61f3aa0bae6f2d62bc64ca6ec0e684891e5d03..499db6ab484ecfa901941869895bbb6ff4e721d3 100644
--- a/tests/KtxTest.cpp
+++ b/tests/KtxTest.cpp
@@ -145,8 +145,8 @@ DEF_TEST(KtxReexportPKM, reporter) {
// Load PKM file into a bitmap
SkBitmap etcBitmap;
SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(pkmFilename.c_str()));
- REPORTER_ASSERT(reporter, fileData);
if (NULL == fileData) {
+ SkDebugf("KtxReexportPKM: can't load test file %s\n", pkmFilename.c_str());
return;
}
« 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