[PATCH] D107695: [llvm] [lit] Support forcing lexical test order

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 7 07:42:33 PDT 2021


mgorny created this revision.
mgorny added a reviewer: jdenny.
Herald added a subscriber: delcypher.
mgorny requested review of this revision.
Herald added a project: LLVM.

Add a new --lexical option that forces running tests in lexical order,
ignoring previous failure state and test times.  This can be used to run
tests in reproducible order.  Use it to fix lit tests that rely
on specific order, instead of having to clear cache manually.


https://reviews.llvm.org/D107695

Files:
  llvm/utils/lit/lit/cl_arguments.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/custom-result-category.py
  llvm/utils/lit/tests/googletest-format.py
  llvm/utils/lit/tests/googletest-upstream-format.py
  llvm/utils/lit/tests/progress-bar.py
  llvm/utils/lit/tests/shtest-env.py
  llvm/utils/lit/tests/shtest-format.py
  llvm/utils/lit/tests/shtest-keyword-parse-errors.py
  llvm/utils/lit/tests/shtest-not.py
  llvm/utils/lit/tests/shtest-run-at-line.py
  llvm/utils/lit/tests/shtest-shell.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107695.364959.patch
Type: text/x-patch
Size: 8197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210807/151a4138/attachment.bin>


More information about the llvm-commits mailing list