llvm-for-llvmta/utils/lit/tests/custom-result-category.py

16 lines
489 B
Python
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# UNSUPPORTED: system-windows
# Test lit.main.add_result_category() extension API.
# RUN: not %{lit} -j 1 %{inputs}/custom-result-category | FileCheck %s
# CHECK: CUSTOM_PASS: custom-result-category :: test1.txt
# CHECK: CUSTOM_FAILURE: custom-result-category :: test2.txt
# CHECK-NOT: My Passed Tests (1)
# CHECK-NOT: custom-result-category :: test1.txt
# CHECK: My Failed Tests (1)
# CHECK: custom-result-category :: test2.txt
# CHECK: My Passed: 1
# CHECK: My Failed: 1