diff options
author | bsalomon <bsalomon@google.com> | 2016-04-06 14:02:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-06 14:02:39 -0700 |
commit | 758586c7f11a6b3529bd4a1c9b4e982a0d0b0582 (patch) | |
tree | 6a325080ce7cd2b6b1396eade7eaa3ff804b44e6 /tests/TextBlobCacheTest.cpp | |
parent | 9e65f9399ea9d50dca723ca23c10ec4145b54abe (diff) |
Make existing unit tests only run on GL contexts
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869503002
Review URL: https://codereview.chromium.org/1869503002
Diffstat (limited to 'tests/TextBlobCacheTest.cpp')
-rw-r--r-- | tests/TextBlobCacheTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/TextBlobCacheTest.cpp b/tests/TextBlobCacheTest.cpp index d13d251f36..8f95cf00e7 100644 --- a/tests/TextBlobCacheTest.cpp +++ b/tests/TextBlobCacheTest.cpp @@ -156,19 +156,19 @@ static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* conte draw(canvas, 1, blobs); } -DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobCache, reporter, ctxInfo) { +DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) { text_blob_cache_inner(reporter, ctxInfo.fGrContext, 1024, 256, 30, true, false); } -DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { +DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { text_blob_cache_inner(reporter, ctxInfo.fGrContext, 256, 256, 10, true, true); } -DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) { +DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) { text_blob_cache_inner(reporter, ctxInfo.fGrContext, 256, 256, 10, false, false); } -DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobStressAbnormal, reporter, ctxInfo) { +DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressAbnormal, reporter, ctxInfo) { text_blob_cache_inner(reporter, ctxInfo.fGrContext, 256, 256, 10, false, true); } #endif |