Skip to content

Commit

Permalink
fixup tests: remove test-shlib and rename the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mml committed Aug 30, 2017
1 parent 96d05b0 commit 1f13de0
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 112 deletions.
22 changes: 10 additions & 12 deletions cluster/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,30 @@ pkg_tar(
],
)

# These tests just verify that bash can interpret the file.
sh_test(
name = "common",
srcs = ["common_test.sh"],
name = "common_test",
srcs = ["common.sh"],
data = [
"all-srcs",
":all-srcs",
"//hack/lib:all-srcs",
],
deps = ["//hack:test-shlib"],
)

sh_test(
name = "clientbin",
srcs = ["clientbin_test.sh"],
name = "clientbin_test",
srcs = ["clientbin.sh"],
data = [
"all-srcs",
":all-srcs",
"//hack/lib:all-srcs",
],
deps = ["//hack:test-shlib"],
)

sh_test(
name = "kube-util",
srcs = ["kube-util_test.sh"],
name = "kube-util_test",
srcs = ["kube-util.sh"],
data = [
"all-srcs",
":all-srcs",
"//hack/lib:all-srcs",
],
deps = ["//hack:test-shlib"],
)
Empty file modified cluster/clientbin.sh
100644 → 100755
Empty file.
24 changes: 0 additions & 24 deletions cluster/clientbin_test.sh

This file was deleted.

24 changes: 0 additions & 24 deletions cluster/common_test.sh

This file was deleted.

Empty file modified cluster/kube-util.sh
100644 → 100755
Empty file.
24 changes: 0 additions & 24 deletions cluster/kube-util_test.sh

This file was deleted.

5 changes: 0 additions & 5 deletions hack/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ filegroup(
visibility = ["//visibility:private"],
)

sh_library(
name = "test-shlib",
srcs = ["test-shlib.sh"],
)

filegroup(
name = "all-srcs",
srcs = [
Expand Down
23 changes: 0 additions & 23 deletions hack/test-shlib.sh

This file was deleted.

0 comments on commit 1f13de0

Please sign in to comment.