[memprof] Upgrade a unit test to MemProf Version 3 (#117063)
[llvm-project.git] / utils / bazel / llvm-project-overlay / mlir / test / mlir-pdll / BUILD.bazel
blob6d0580d803f6cfdc5cec5d5aa333c2fb8116e13f
1 load("//llvm:lit_test.bzl", "lit_test")
3 licenses(["notice"])
5 package(default_visibility = ["//visibility:public"])
8     lit_test(
9         name = "%s.test" % src,
10         srcs = [src],
11         data = glob([
12             "Parser/include/**",
13             "CodeGen/MLIR/include/**",
14             "CodeGen/CPP/include/**",
15         ]) + [
16             "//mlir:OpBaseTdFiles",
17             "//mlir:mlir-pdll",
18             "//mlir/test:lit_data",
19         ],
20     )
21     for src in glob(
22         include = ["**/*.pdll"],
23         exclude = ["Parser/include/included.pdll"],
24     )