aboutsummaryrefslogtreecommitdiff
path: root/tests/core/go_plugin/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/go_plugin/BUILD.bazel')
-rw-r--r--tests/core/go_plugin/BUILD.bazel16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/core/go_plugin/BUILD.bazel b/tests/core/go_plugin/BUILD.bazel
new file mode 100644
index 00000000..ce07189d
--- /dev/null
+++ b/tests/core/go_plugin/BUILD.bazel
@@ -0,0 +1,16 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
+
+test_suite(name = "go_plugin")
+
+go_test(
+ name = "go_default_test",
+ srcs = ["all_test.go"],
+ data = [":plugin"],
+)
+
+go_binary(
+ name = "plugin",
+ srcs = ["plugin.go"],
+ out = "plugin.so",
+ linkmode = "plugin",
+)