aboutsummaryrefslogtreecommitdiff
path: root/tests/SkSLErrorTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SkSLErrorTest.cpp')
-rw-r--r--tests/SkSLErrorTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp
index f1b937763f..33ef1ecd78 100644
--- a/tests/SkSLErrorTest.cpp
+++ b/tests/SkSLErrorTest.cpp
@@ -113,6 +113,9 @@ DEF_TEST(SkSLErrorTest, r) {
iterate_dir("sksl/errors/", ".sksl", [&](const char* path) {
test_expect_fail(r, path, SkSL::ProgramKind::kFragment);
});
+ iterate_dir("sksl/errors/", ".rts", [&](const char* path) {
+ test_expect_fail(r, path, SkSL::ProgramKind::kRuntimeShader);
+ });
}
DEF_TEST(SkSLRuntimeShaderErrorTest, r) {