Skip to content

Commit

Permalink
addressed review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigunj committed Apr 1, 2024
1 parent 1b33d98 commit 43971db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/bazel/llvm-project-overlay/llvm/lit_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def lit_test(
srcs,
args = None,
data = None,
deps = None,
**kwargs):
"""Runs a single test file with LLVM's lit tool.
Expand All @@ -27,6 +28,7 @@ def lit_test(

args = args or []
data = data or []
deps = deps or []

native.py_test(
name = name,
Expand All @@ -35,7 +37,7 @@ def lit_test(
args = args + ["-v"] + ["$(execpath %s)" % src for src in srcs],
data = data + srcs,
legacy_create_init = False,
deps = [Label("//llvm:lit")] + kwargs.pop("deps", []),
deps = deps + [Label("//llvm:lit")],
**kwargs
)

Expand Down

0 comments on commit 43971db

Please sign in to comment.