1# UNSUPPORTED: system-windows
2# Test lit.main.add_result_category() extension API.
3
4# RUN: not %{lit} -j 1 %{inputs}/custom-result-category | FileCheck %s
5
6# CHECK: CUSTOM_PASS: custom-result-category :: test1.txt
7# CHECK: CUSTOM_FAILURE: custom-result-category :: test2.txt
8
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
13
14# CHECK: My Passed: 1
15# CHECK: My Failed: 1
16