summaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-22 12:49:58 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-22 12:49:58 +0100
commit0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 (patch)
treea79b36c2f7009bc9c18023e53a466a5ad4777529 /tests.sh
parent59b30c1305ff6bcb63c673898893edcda19e27e4 (diff)
downloadcrep-0dce637073c97752e436ee5a1d1e16bf3dc8e7b2.tar.gz
Add Tcl grammar and ABI compliance check
Diffstat (limited to 'tests.sh')
-rw-r--r--tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index d36eb70..ecb6fc0 100644
--- a/tests.sh
+++ b/tests.sh
@@ -125,6 +125,11 @@ run_test "Odin Struct" "Point" "$TEST_DIR/test.odin" "struct Point"
run_test "Odin Enum" "Color" "$TEST_DIR/test.odin" "enum Color"
run_test "Odin Variable Proc" "complex_proc" "$TEST_DIR/test.odin" "proc complex_proc (name: string, age: int, flags: ..bool)"
+# Tcl Tests
+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"
+
# 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"