summaryrefslogtreecommitdiffhomepage
path: root/test/root/BUILD
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-12-09 09:31:44 -0800
committerShentubot <shentubot@google.com>2020-12-09 15:53:23 -0800
commita855a814d601a4c30f26743ef1bf016df956e042 (patch)
treeb017a831f6eff9c9734663114bbdf39fc4b6ffc7 /test/root/BUILD
parentf6cb96bd57dec4e3baa8c57ccdeb0f1d8706b682 (diff)
Refactor the Makefile to avoid recursive Make.
Recursive make is difficult to follow and debug. Drop this by using internal functions, which, while difficult, are easier than trying to following recursive invokations. Further simplify the Makefile by collapsing the image bits and removing the tools/vm directory, which is effectively unused. Fixes #4952 PiperOrigin-RevId: 346569133
Diffstat (limited to 'test/root/BUILD')
-rw-r--r--test/root/BUILD14
1 files changed, 1 insertions, 13 deletions
diff --git a/test/root/BUILD b/test/root/BUILD
index a9130b34f..8d9fff578 100644
--- a/test/root/BUILD
+++ b/test/root/BUILD
@@ -1,5 +1,4 @@
load("//tools:defs.bzl", "go_library", "go_test")
-load("//tools/vm:defs.bzl", "vm_test")
package(licenses = ["notice"])
@@ -24,12 +23,8 @@ go_test(
],
library = ":root",
tags = [
- # Requires docker and runsc to be configured before the test runs.
- # Also, the test needs to be run as root. Note that below, the
- # root_vm_test relies on the default runtime 'runsc' being installed by
- # the default installer.
- "manual",
"local",
+ "manual",
],
visibility = ["//:sandbox"],
deps = [
@@ -46,10 +41,3 @@ go_test(
"@org_golang_x_sys//unix:go_default_library",
],
)
-
-vm_test(
- name = "root_vm_test",
- size = "large",
- shard_count = 1,
- targets = [":root_test"],
-)