Skip to content

Commit

Permalink
Add genrule to produce e2e_node.test binary artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Jan 13, 2017
1 parent 9beb13a commit 14dd0d3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/e2e_node/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ go_test(
"volume_manager_test.go",
],
library = ":go_default_library",
tags = ["automanaged"],
tags = [
"automanaged",
"integration",
],
deps = [
"//pkg/api/errors:go_default_library",
"//pkg/api/resource:go_default_library",
Expand Down Expand Up @@ -114,6 +117,15 @@ go_test(
],
)

genrule(
name = "gen_e2e_node.test",
testonly = 1,
srcs = [":go_default_test"],
outs = ["e2e_node.test"],
cmd = "srcs=($(SRCS)); cp $$(dirname $${srcs[0]})/go_default_test $@;",
output_to_bindir = 1,
)

filegroup(
name = "package-srcs",
srcs = glob(["**"]),
Expand Down

0 comments on commit 14dd0d3

Please sign in to comment.