aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/PathOpsExtendedTest.cpp2
-rwxr-xr-xtests/PathOpsSkpClipTest.cpp2
-rw-r--r--tests/skia_test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/PathOpsExtendedTest.cpp b/tests/PathOpsExtendedTest.cpp
index 73a23872f8..e0d30ba0b3 100644
--- a/tests/PathOpsExtendedTest.cpp
+++ b/tests/PathOpsExtendedTest.cpp
@@ -443,7 +443,7 @@ bool testSimplify(SkPath& path, bool useXor, SkPath& out, PathOpsThreadState& st
}
const char testFunction[] = "testSimplify(reporter, path);";
outputToStream(pathStr, pathPrefix, nameSuffix, testFunction, false, stream);
- SkDebugf(temp);
+ SkDebugf("%s", temp);
REPORTER_ASSERT(state.fReporter, 0);
}
state.fReporter->bumpTestCount();
diff --git a/tests/PathOpsSkpClipTest.cpp b/tests/PathOpsSkpClipTest.cpp
index 99a5030b56..3cc788f13c 100755
--- a/tests/PathOpsSkpClipTest.cpp
+++ b/tests/PathOpsSkpClipTest.cpp
@@ -1086,7 +1086,7 @@ int tool_main(int argc, char** argv) {
if (FLAGS_verbose) {
header.appendf("\n");
}
- SkDebugf(header.c_str());
+ SkDebugf("%s", header.c_str());
Iter iter;
Test* test;
while ((test = iter.next()) != NULL) {
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp
index 2aca99d4a1..74029d457b 100644
--- a/tests/skia_test.cpp
+++ b/tests/skia_test.cpp
@@ -164,7 +164,7 @@ int test_main() {
if (FLAGS_veryVerbose) {
header.appendf("\n");
}
- SkDebugf(header.c_str());
+ SkDebugf("%s", header.c_str());
}