Test suite for e2e check tests
Because we have separate suites for each backend there isn't a target that includes all the check tests, but not all the lit tests. Just add a manual suite (again we could make the macros fancier to support all this, but I don't think it really makes things clearer).
Includes adding test_suite "support" (no-op function) to bazel_to_cmake, since I don't think CMake has anything like bazel's notion of test suites.
PiperOrigin-RevId: 305932431
diff --git a/build_tools/bazel_to_cmake/bazel_to_cmake_converter.py b/build_tools/bazel_to_cmake/bazel_to_cmake_converter.py
index 87140f3..b5c59fb 100644
--- a/build_tools/bazel_to_cmake/bazel_to_cmake_converter.py
+++ b/build_tools/bazel_to_cmake/bazel_to_cmake_converter.py
@@ -250,6 +250,10 @@
def iree_build_test(self, **kwargs):
pass
+ def test_suite(self, **kwargs):
+ # No CMake equivalent, ignore.
+ pass
+
def filegroup(self, name, **kwargs):
# Not implemented yet. Might be a no-op, or may want to evaluate the srcs
# attribute and pass them along to any targets that depend on the filegroup.
diff --git a/iree/test/e2e/xla/BUILD b/iree/test/e2e/xla/BUILD
index 3ed25bd..1f5b53d 100644
--- a/iree/test/e2e/xla/BUILD
+++ b/iree/test/e2e/xla/BUILD
@@ -200,3 +200,13 @@
driver = "llvm",
target_backend = "llvm-ir",
)
+
+test_suite(
+ name = "check",
+ tests = [
+ ":check_linalg-to-spirv_vulkan",
+ ":check_llvm-ir_llvm",
+ ":check_vmla_vmla",
+ ":check_vulkan-spirv_vulkan",
+ ],
+)