diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:58:25 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:58:25 +0100 |
| commit | c4923c47ffc2309fc3844be80ee0d8392e2fad2b (patch) | |
| tree | f45eaf718a30d9f9a478bb366dbe7fb9d746925b /tests.sh | |
| parent | 0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 (diff) | |
| download | crep-c4923c47ffc2309fc3844be80ee0d8392e2fad2b.tar.gz | |
Add GLSL grammar
Diffstat (limited to 'tests.sh')
| -rw-r--r-- | tests.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -130,6 +130,11 @@ run_test "Tcl Proc" "hello" "$TEST_DIR/test.tcl" "proc hello" run_test "Tcl Params" "add" "$TEST_DIR/test.tcl" "proc add" run_test "Tcl Complex" "complex_proc" "$TEST_DIR/test.tcl" "proc complex_proc" +# GLSL Tests +run_test "GLSL Func" "main" "$TEST_DIR/test.glsl" "void main" +run_test "GLSL Params" "add_vectors" "$TEST_DIR/test.glsl" "vec3 add_vectors (vec3 a, vec3 b)" +run_test "GLSL Struct" "Point" "$TEST_DIR/test.glsl" "struct Point" + # Case Sensitivity Tests run_test "Default Case Insensitive" "foo" "tests/test.c" "void FooBar" run_test_with_flags "Case Sensitive -c" "-c" "foobar" "tests/test.c" "void foobar" |
