1load("//tensorflow:tensorflow.bzl", "filegroup") 2load("//tensorflow/compiler/mlir:glob_lit_test.bzl", "glob_lit_tests") 3 4package(licenses = ["notice"]) 5 6glob_lit_tests( 7 data = [":test_utilities"], 8 driver = "@llvm-project//mlir:run_lit.sh", 9 test_file_exts = [ 10 "mlir", 11 "hlo", 12 "hlotxt", 13 ], 14) 15 16# Bundle together all of the test utilities that are used by tests. 17filegroup( 18 name = "test_utilities", 19 testonly = True, 20 data = [ 21 "//tensorflow/compiler/mlir:tf-mlir-translate", 22 "@llvm-project//llvm:FileCheck", 23 "@llvm-project//llvm:not", 24 ], 25) 26