[all-commits] [llvm/llvm-project] d66428: [lit] Allow for tests to have non-parsed requirements

Casey Carter via All-commits all-commits at lists.llvm.org
Mon Jun 15 16:45:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d66428cb995c7a04ecb02951d5021d815fc02b2b
      https://github.com/llvm/llvm-project/commit/d66428cb995c7a04ecb02951d5021d815fc02b2b
  Author: Casey Carter <Casey at Carter.net>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    A llvm/utils/lit/tests/Inputs/unparsed-requirements/test.py
    A llvm/utils/lit/tests/unparsed-requirements.py

  Log Message:
  -----------
  [lit] Allow for tests to have non-parsed requirements

MSVC uses lit for STL testing to run both the libcxx tests and our "native" suite of tests which has feature requirements that are not parsed from the test content. For consistency, the change treats the `unsupported` and `xfails` `Test` properties similarly to `requires`.

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




More information about the All-commits mailing list