[PATCH] D141124: [UpdateTestChecks] Do not add --force-update to UTC_ARGS

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 05:05:45 PST 2023


arichardson created this revision.
arichardson added reviewers: nikic, jdoerfert.
Herald added a subscriber: luismarques.
Herald added a project: All.
arichardson requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Persisting this flag only introduces test churn.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141124

Files:
  llvm/utils/UpdateTestChecks/common.py


Index: llvm/utils/UpdateTestChecks/common.py
===================================================================
--- llvm/utils/UpdateTestChecks/common.py
+++ llvm/utils/UpdateTestChecks/common.py
@@ -1159,7 +1159,8 @@
       continue  # Ignore options such as --help that aren't included in args
     # Ignore parameters such as paths to the binary or the list of tests
     if action.dest in ('tests', 'update_only', 'tool_binary', 'opt_binary',
-                       'llc_binary', 'clang', 'opt', 'llvm_bin', 'verbose'):
+                       'llc_binary', 'clang', 'opt', 'llvm_bin', 'verbose',
+                       'force_update'):
       continue
     value = getattr(args, action.dest)
     if action.const is not None:  # action stores a constant (usually True/False)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141124.486819.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230106/93f563d0/attachment.bin>


More information about the llvm-commits mailing list