Skip to content

Commit

Permalink
tests/bazel_test: delete legacy test framework (bazel-contrib#2304)
Browse files Browse the repository at this point in the history
Does not work with newer versions of Bazel, and everything's been
migrated to go_bazel_test.

Fixes bazel-contrib#1959
  • Loading branch information
Jay Conrod authored Dec 2, 2019
1 parent 3efdc83 commit a667c18
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 421 deletions.
4 changes: 0 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")

gazelle_dependencies()

load("@io_bazel_rules_go//tests:bazel_tests.bzl", "test_environment")

test_environment()

load("@io_bazel_rules_go//tests/legacy/test_chdir:remote.bzl", "test_chdir_remote")

test_chdir_remote()
Expand Down
22 changes: 0 additions & 22 deletions tests/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,22 +0,0 @@
load(":bazel_tests.bzl", "md5_sum")

md5_sum(
name = "all_rules_md5",
testonly = True,
srcs = [
"//go:all_rules",
"//go/tools/builders:all_builder_srcs",
"//proto:all_rules",
],
visibility = ["//visibility:private"],
)

# Consuming the above md5_sum rule directly into the data deps of a sh_test results in the
# files just not appearing, and the dependancy not triggering.
# If we wrap it in a filegroup first however it just works.
filegroup(
name = "rules_go_deps",
testonly = True,
srcs = [":all_rules_md5"],
visibility = ["//visibility:public"],
)
Loading

0 comments on commit a667c18

Please sign in to comment.