[all-commits] [llvm/llvm-project] 2f69c8: [llvm] [lit] Support forcing lexical test order

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Aug 27 11:50:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f69c82cec1ae05b4fdcef4ac48f48e9e2bad32b
      https://github.com/llvm/llvm-project/commit/2f69c82cec1ae05b4fdcef4ac48f48e9e2bad32b
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-08-27 (Fri, 27 Aug 2021)

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

  Log Message:
  -----------
  [llvm] [lit] Support forcing lexical test order

Add a new --order option to choose between available test orders:
the default "smart" order, predictable "lexical" order or "random"
order.  Default to using lexical order and one job in the lit test
suite.

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




More information about the All-commits mailing list