[llvm] [utils][UpdateTestChecks] Warn about possible target triple mismatch (PR #149645)

Tomer Shafir via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 05:51:32 PDT 2025


================
@@ -142,7 +142,12 @@ def update_test(ti: common.TestInfo):
             triple = common.get_triple_from_march(march_in_cmd)
 
         scrubber, function_re = output_type.get_run_handler(triple)
-        builder.process_run_line(function_re, scrubber, raw_tool_output, prefixes)
+        if not builder.process_run_line(
----------------
tomershafir wrote:

I think its better to return the raw count and let the caller decide. will change to `if 0 == builder.process_run_line(` and document the callee.

https://github.com/llvm/llvm-project/pull/149645


More information about the llvm-commits mailing list