Skip to content

Commit 68dcf54

Browse files
johnstiles-googleSkia Commit-Bot
authored andcommitted
Migrate CrbugOssfuzz21688 to a golden-output test.
Change-Id: I2c077e723d123b01fbcc8fe841ee1f3d28dc152d Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/332037 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
1 parent 91292e9 commit 68dcf54

File tree

5 files changed

+6
-31
lines changed

5 files changed

+6
-31
lines changed

gn/sksl_tests.gni

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ sksl_error_tests = [
101101
"$_tests/sksl/errors/IfTypeMismatch.sksl",
102102
"$_tests/sksl/errors/InterfaceBlockScope.sksl",
103103
"$_tests/sksl/errors/InterfaceBlockStorageModifiers.sksl",
104+
"$_tests/sksl/errors/InterfaceBlockWithNoMembers.sksl",
104105
"$_tests/sksl/errors/InvalidAssignment.sksl",
105106
"$_tests/sksl/errors/InvalidOutParams.sksl",
106107
"$_tests/sksl/errors/InvalidUnary.sksl",

gn/tests.gni

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ tests_sources = [
5353
"$_tests/ColorTest.cpp",
5454
"$_tests/CompressedBackendAllocationTest.cpp",
5555
"$_tests/CopySurfaceTest.cpp",
56-
"$_tests/CrbugOssfuzz21688.cpp",
5756
"$_tests/CubicMapTest.cpp",
5857
"$_tests/DashPathEffectTest.cpp",
5958
"$_tests/DataRefTest.cpp",

tests/CrbugOssfuzz21688.cpp

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
testBlock {} x[2];
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Compilation failed:
2+
3+
error: 1: interface block 'testBlock' must contain at least one member
4+
1 error

0 commit comments

Comments
 (0)