[clang] [llvm] Reland "[Utils] Add new --update-tests flag to llvm-lit" (PR #153821)

Min-Yih Hsu via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 15 09:41:30 PDT 2025


================
@@ -399,6 +399,11 @@ ADDITIONAL OPTIONS
  Show all features used in the test suite (in ``XFAIL``, ``UNSUPPORTED`` and
  ``REQUIRES``) and exit.
 
+.. option:: --update-tests
+
+ Pass failing tests to functions in the ``lit_config.update_tests`` list to
----------------
mshockwave wrote:

do you mean "to functions in the `list_config.test_updaters` list"? `lit_config.update_tests` is a boolean value.

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


More information about the cfe-commits mailing list