Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / lit / tests / custom-result-category.py
blobf147f6b52dafa2fa915a0cb85afe5ddafbcfad03
1 # UNSUPPORTED: system-windows
2 # Test lit.main.add_result_category() extension API.
4 # RUN: not %{lit} %{inputs}/custom-result-category | FileCheck %s
6 # CHECK: CUSTOM_PASS: custom-result-category :: test1.txt
7 # CHECK: CUSTOM_FAILURE: custom-result-category :: test2.txt
9 # CHECK-NOT: My Passed Tests (1)
10 # CHECK-NOT: custom-result-category :: test1.txt
11 # CHECK: My Failed Tests (1)
12 # CHECK: custom-result-category :: test2.txt
14 # CHECK: My Passed: 1
15 # CHECK: My Failed: 1