aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PaintTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-02 14:01:23 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-02 14:01:23 +0000
commitc3eb56db6b88255be79d2daa210da1a6aba64051 (patch)
tree76a8c782526aa250b5a548f97948c85c410c4b13 /tests/PaintTest.cpp
parentbcb42aecf1bdb9ae80d766d203b4f636b954cf03 (diff)
use if (false) instead of #ifdef to avoid unused code warning
git-svn-id: http://skia.googlecode.com/svn/trunk@9861 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PaintTest.cpp')
-rw-r--r--tests/PaintTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp
index 6d12ebec28..20dda6b6a4 100644
--- a/tests/PaintTest.cpp
+++ b/tests/PaintTest.cpp
@@ -231,11 +231,12 @@ static void TestPaint(skiatest::Reporter* reporter) {
regression_measureText(reporter);
test_bicubic(reporter);
-#ifdef SK_BUILD_FOR_MAC
+
// need to implement charsToGlyphs on other backends (e.g. linux, win)
- // before we can run this tests everywhre
- test_cmap(reporter);
-#endif
+ // before we can run this tests everywhere
+ if (false) {
+ test_cmap(reporter);
+ }
}
#include "TestClassDef.h"