summaryrefslogtreecommitdiffhomepage
path: root/tools/images/defs.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/images/defs.bzl')
-rw-r--r--tools/images/defs.bzl6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/images/defs.bzl b/tools/images/defs.bzl
index d8e422a5d..32235813a 100644
--- a/tools/images/defs.bzl
+++ b/tools/images/defs.bzl
@@ -28,6 +28,8 @@ The vm_test rule can be used to execute a command remotely. For example,
)
"""
+load("//tools:defs.bzl", "default_installer")
+
def _vm_image_impl(ctx):
script_paths = []
for script in ctx.files.scripts:
@@ -165,8 +167,8 @@ def vm_test(
targets = kwargs.pop("targets", [])
if installer:
targets = [installer] + targets
- targets = [
- ] + targets
+ if default_installer():
+ targets = [default_installer()] + targets
_vm_test(
tags = [
"local",