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

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 12 01:15:43 PDT 2021


mgorny updated this revision to Diff 365930.
mgorny edited the summary of this revision.
mgorny added a comment.

Switched to choice-based `--order=` option. Renamed 'default' to 'smart'. Added a new lit subst not to include order args. Made `%{lit}` include `-j1` as well. Added the comment.

I think this addresses all the comments.

I have also removed the enum since it seemed to make little sense now... but I have a new idea, so I might reintroduce it in a minute ;-).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107695/new/

https://reviews.llvm.org/D107695

Files:
  llvm/utils/lit/lit/cl_arguments.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/allow-retries.py
  llvm/utils/lit/tests/custom-result-category.py
  llvm/utils/lit/tests/discovery.py
  llvm/utils/lit/tests/googletest-discovery-failed.py
  llvm/utils/lit/tests/googletest-format.py
  llvm/utils/lit/tests/googletest-timeout.py
  llvm/utils/lit/tests/googletest-upstream-format.py
  llvm/utils/lit/tests/ignore-fail.py
  llvm/utils/lit/tests/lit-opts.py
  llvm/utils/lit/tests/lit.cfg
  llvm/utils/lit/tests/max-failures.py
  llvm/utils/lit/tests/progress-bar.py
  llvm/utils/lit/tests/reorder.py
  llvm/utils/lit/tests/shtest-env.py
  llvm/utils/lit/tests/shtest-format-argv0.py
  llvm/utils/lit/tests/shtest-format.py
  llvm/utils/lit/tests/shtest-inject.py
  llvm/utils/lit/tests/shtest-keyword-parse-errors.py
  llvm/utils/lit/tests/shtest-not.py
  llvm/utils/lit/tests/shtest-output-printing.py
  llvm/utils/lit/tests/shtest-recursive-substitution.py
  llvm/utils/lit/tests/shtest-run-at-line.py
  llvm/utils/lit/tests/shtest-shell.py
  llvm/utils/lit/tests/test-data-micro.py
  llvm/utils/lit/tests/test-data.py
  llvm/utils/lit/tests/test-output-micro.py
  llvm/utils/lit/tests/test-output.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107695.365930.patch
Type: text/x-patch
Size: 30577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210812/7a29c8f8/attachment.bin>


More information about the llvm-commits mailing list