blob: 858e0b8249018465c65a64b5170e28a27b5ca2ec [file] [log] [blame]
Stella Laurenzo41a2ceb2022-04-29 12:49:36 -07001# Copyright 2019 The IREE Authors
2#
3# Licensed under the Apache License v2.0 with LLVM Exceptions.
4# See https://llvm.org/LICENSE.txt for license information.
5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
7# Tests for common transforms.
8
9load("//build_tools/bazel:iree_lit_test.bzl", "iree_lit_test_suite")
10load("//build_tools/bazel:enforce_glob.bzl", "enforce_glob")
11
12package(
Stella Laurenzo41a2ceb2022-04-29 12:49:36 -070013 features = ["layering_check"],
14 licenses = ["notice"], # Apache 2.0
15)
16
17iree_lit_test_suite(
18 name = "lit",
19 srcs = enforce_glob(
20 [
Ben Vanik0196b0a2022-08-15 10:48:05 -070021 "executable_benchmarks.mlir",
Stella Laurenzo41a2ceb2022-04-29 12:49:36 -070022 "hal_executable.mlir",
MaheshRavishankar6a59ff62023-02-01 19:03:23 -080023 "preprocessing_flags.mlir",
Stella Laurenzo41a2ceb2022-04-29 12:49:36 -070024 "smoketest.mlir",
25 "streams.mlir",
26 ],
27 include = ["*.mlir"],
28 ),
Stella Laurenzof44859d2022-05-31 20:00:19 -070029 cfg = "//tests:lit.cfg.py",
Stella Laurenzo41a2ceb2022-04-29 12:49:36 -070030 tools = [
Scott Toddf57ab752022-05-23 10:36:44 -070031 "//tools:iree-compile",
Stella Laurenzo41a2ceb2022-04-29 12:49:36 -070032 "@llvm-project//llvm:FileCheck",
33 ],
34)