blob: e843d0a136b3b8c7fe1a6ca9b679effb8d02615c [file] [log] [blame]
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("//bazel/bash:defs.bzl", "custom_args_test", "sh_runfiles_binary")
custom_args_test(
name = "custom_args_test",
size = "small",
binary = ":read_runfiles",
binary_args = [
"cros/bazel/bash/examples/testdata/example.txt",
"cros/bazel/bash/examples/testdata/example2.txt",
],
data = ["testdata/example.txt"],
)
sh_runfiles_binary(
name = "read_runfiles",
testonly = True,
src = "read_runfiles.sh",
data = ["testdata/example2.txt"],
)