[Mlir-commits] [llvm] [mlir] [CMake] add `SKIP` to `add_lit_testsuites` (PR #157176)
Maksim Levental
llvmlistbot at llvm.org
Fri Sep 5 19:02:23 PDT 2025
================
@@ -2211,6 +2211,17 @@ function(add_lit_testsuites project directory)
if (NOT (is_inputs EQUAL -1 AND is_output EQUAL -1))
continue()
endif()
+ set(_should_skip FALSE)
+ foreach(skip ${ARG_SKIP})
+ string(FIND ${lit_suite} ${skip} is_skip)
+ if (NOT is_skip EQUAL -1)
----------------
makslevental wrote:
i moved the check down to after `name_slash` (and made the check on `name_slash MATCHES skip`) so now i think we have the effect you wanted (ability to precisely match using regex).
https://github.com/llvm/llvm-project/pull/157176
More information about the Mlir-commits
mailing list