[llvm] [llvm][lit] Add option to run only the failed tests (PR #158043)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 01:50:32 PDT 2025


================
@@ -314,6 +314,10 @@ The timing data is stored in the `test_exec_root` in a file named
   place of this option, which is especially useful in environments where the
   call to ``lit`` is issued indirectly.
 
+.. option:: --filter-failed
+
+  Run only those tests that previously failed.
----------------
Michael137 wrote:

Added a test for this in the latest commit. Since i'm now `echo`ing into the inputs directory I decided to create a dedicated one for this test (so it doesn't affect the `ignore-fail` test in case things go wrong).

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


More information about the llvm-commits mailing list