[llvm] 9b2276c - [UpdateTestChecks] Do not add --force-update to UTC_ARGS

Alex Richardson via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 05:35:54 PST 2023


Author: Alex Richardson
Date: 2023-01-06T13:35:43Z
New Revision: 9b2276c004274bdb0c1abecac0dc5aa712ec0251

URL: https://github.com/llvm/llvm-project/commit/9b2276c004274bdb0c1abecac0dc5aa712ec0251
DIFF: https://github.com/llvm/llvm-project/commit/9b2276c004274bdb0c1abecac0dc5aa712ec0251.diff

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

Persisting this flag only introduces test churn.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D141124

Added: 
    

Modified: 
    llvm/utils/UpdateTestChecks/common.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 2b9a52a2f71a7..aec8a97115c59 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -1159,7 +1159,8 @@ def get_autogennote_suffix(parser, args):
       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)


        


More information about the llvm-commits mailing list