summaryrefslogtreecommitdiffhomepage
path: root/tools/nogo/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nogo/BUILD')
-rw-r--r--tools/nogo/BUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/nogo/BUILD b/tools/nogo/BUILD
index a7e280b32..d72821377 100644
--- a/tools/nogo/BUILD
+++ b/tools/nogo/BUILD
@@ -1,4 +1,4 @@
-load("//tools:defs.bzl", "bzl_library", "go_library", "select_goarch", "select_goos")
+load("//tools:defs.bzl", "bzl_library", "go_library", "go_test", "select_goarch", "select_goos")
load("//tools/nogo:defs.bzl", "nogo_objdump_tool", "nogo_stdlib", "nogo_target")
package(licenses = ["notice"])
@@ -35,6 +35,7 @@ go_library(
visibility = ["//:sandbox"],
deps = [
"//tools/checkescape",
+ "//tools/checklinkname",
"//tools/checklocks",
"//tools/checkunsafe",
"//tools/nogo/objdump",
@@ -73,6 +74,12 @@ go_library(
],
)
+go_test(
+ name = "nogo_test",
+ srcs = ["config_test.go"],
+ library = ":nogo",
+)
+
bzl_library(
name = "defs_bzl",
srcs = ["defs.bzl"],