[all-commits] [llvm/llvm-project] fbdcfc: [lit] Provide extension API for custom result cate...

Julian Lettner via All-commits all-commits at lists.llvm.org
Wed Apr 29 19:48:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fbdcfcd4c392c487c411632b951f4aada351154e
      https://github.com/llvm/llvm-project/commit/fbdcfcd4c392c487c411632b951f4aada351154e
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M llvm/utils/lit/lit/main.py
    A llvm/utils/lit/tests/Inputs/custom-result-category/format.py
    A llvm/utils/lit/tests/Inputs/custom-result-category/lit.cfg
    A llvm/utils/lit/tests/Inputs/custom-result-category/test1.txt
    A llvm/utils/lit/tests/Inputs/custom-result-category/test2.txt
    M llvm/utils/lit/tests/Inputs/shtest-inject/lit.cfg
    A llvm/utils/lit/tests/custom-result-category.py

  Log Message:
  -----------
  [lit] Provide extension API for custom result categories

The lnt test suite defines custom result codes [1].  Support those via
an extension API instead of "by accident", which should offer the
advantage of properly handling them when we print test results.

[1] https://reviews.llvm.org/D77986

Reviewed By: Meinersbur

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




More information about the All-commits mailing list