commit | 7ef4b74e57a143e4e586e577e9b7c11c3aab472d | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Fri Nov 11 15:16:46 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 11 21:15:29 2016 +0000 |
tree | 5ca0e9f4e9fc44806f0ef45eb70c0ff350cf13a0 | |
parent | dca4f6530013cf43a2557ccb07f5cb4fd916b8e8 [diff] [blame] |
re-re-land of skslc now uses standard Skia caps BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4732 Change-Id: I144110bf66f67a28da7ad333173db43bddf9e8d0 Reviewed-on: https://skia-review.googlesource.com/4732 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index fc20fa2..e9e05c1 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp
@@ -9,6 +9,8 @@ #include "Test.h" +#if SKIA_SUPPORT_GPU + static void test_failure(skiatest::Reporter* r, const char* src, const char* error) { SkSL::Compiler compiler; std::stringstream out; @@ -368,3 +370,5 @@ "void foo() { false ? x : 5; }", "error: 1: unknown identifier 'x'\n1 error\n"); } + +#endif