[llvm] [Util] Only run --update-tests functions on failing tests (PR #155148)
Henrik G. Olsson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 09:14:29 PDT 2025
================
@@ -1192,13 +1203,23 @@ def executeScriptInternal(
str(result.timeoutReached),
)
- if litConfig.update_tests:
+ if (
+ litConfig.update_tests
+ and result.exitCode != 0
+ and not timeoutInfo
+ # Don't run test updaters on XPASS failures -
----------------
hnrklssn wrote:
updated comment now
https://github.com/llvm/llvm-project/pull/155148
More information about the llvm-commits
mailing list