30 lines
796 B
Python
30 lines
796 B
Python
load("//tensorflow:tensorflow.default.bzl", "filegroup")
|
|
load("//tensorflow/compiler/mlir/tosa:glob_lit_test.bzl", "glob_lit_tests")
|
|
|
|
package(
|
|
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
glob_lit_tests(
|
|
name = "all_tests",
|
|
data = [":test_utilities"],
|
|
default_tags = ["tf_tosa"],
|
|
driver = "@llvm-project//mlir:run_lit.sh",
|
|
size_override = {
|
|
"tf-to-tosa-pipeline.mlir": "medium",
|
|
},
|
|
test_file_exts = ["mlir"],
|
|
)
|
|
|
|
# Bundle together all of the test utilities that are used by tests.
|
|
filegroup(
|
|
name = "test_utilities",
|
|
testonly = True,
|
|
data = [
|
|
"//tensorflow/compiler/mlir/tosa:tf-tosa-opt",
|
|
"@llvm-project//llvm:FileCheck",
|
|
"@llvm-project//llvm:not",
|
|
],
|
|
)
|