skia2/platform_tools
John Stiles de814f81aa Add SkSL error tests that use Android RuntimeShader.
`atest` will now properly create a RuntimeShader for each of the SkSL
runtime_error tests, and report an SkQP failure if the errors listed
within the test's *%%* markers are not thrown.

This CL also fixes a string-handling bug in `get_sksl_error_tests` which
could cause garbage bytes to appear at the end of shader text. (The code
accidentally assumed that an SkData would have a zero terminator.)

Bug: skia:13042
Change-Id: I971c2a78b8e1c2801a49ce8cd660520d2df5e519
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/522358
Reviewed-by: Leon Scroggins <scroggo@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-03-21 14:07:42 +00:00
..
android Add SkSL error tests that use Android RuntimeShader. 2022-03-21 14:07:42 +00:00
debugging Add SkSpan support to the Skia LLDB visualizer. 2020-12-22 18:10:12 +00:00
ios Reland "Add launch screen to iOS apps" 2019-09-05 14:05:08 +00:00
libraries/include SkAR: drawing text, shapes, rotation modes enabled, translating objects 2018-06-19 19:10:54 +00:00