summaryrefslogtreecommitdiff
path: root/willow/tools/willowc/unittest/BUILD.bazel
diff options
context:
space:
mode:
authorsweiglbosker <stefan@s00.xyz>2026-02-24 13:04:50 -0500
committerGitHub <noreply@github.com>2026-02-24 13:04:50 -0500
commit9d386221c9d6265f8ab85b42fcb93b4a0cafbb54 (patch)
tree317c3f56776538eae9980ad93bd16432d396470b /willow/tools/willowc/unittest/BUILD.bazel
parent4b005e4a6e646c0b2788fc261097cdca2a93696c (diff)
downloadcompiler-main.tar.gz
[willow][tools]: unit testing for tokenizer (#14)HEADmain
Diffstat (limited to 'willow/tools/willowc/unittest/BUILD.bazel')
-rw-r--r--willow/tools/willowc/unittest/BUILD.bazel16
1 files changed, 16 insertions, 0 deletions
diff --git a/willow/tools/willowc/unittest/BUILD.bazel b/willow/tools/willowc/unittest/BUILD.bazel
new file mode 100644
index 0000000..141bf82
--- /dev/null
+++ b/willow/tools/willowc/unittest/BUILD.bazel
@@ -0,0 +1,16 @@
+test_suite(
+ name = "unittest",
+ tests = [
+ ":tokenizer"
+ ],
+)
+
+cc_test(
+ name = "tokenizer",
+ srcs = ["TokenizerTest.cpp"],
+ deps = [
+ "//willow/tools/willowc:willowc_lib",
+ "@catch2//:catch2_main"
+ ],
+ tags = ["tokenizer"]
+)