2020-05-05 04:06:56 +08:00
|
|
|
# UNSUPPORTED: system-windows
|
2020-04-15 06:55:38 +08:00
|
|
|
# Test lit.main.add_result_category() extension API.
|
|
|
|
|
2021-08-07 22:40:09 +08:00
|
|
|
# RUN: not %{lit} %{inputs}/custom-result-category | FileCheck %s
|
2020-04-15 06:55:38 +08:00
|
|
|
|
|
|
|
# CHECK: CUSTOM_PASS: custom-result-category :: test1.txt
|
|
|
|
# CHECK: CUSTOM_FAILURE: custom-result-category :: test2.txt
|
|
|
|
|
2020-06-17 03:15:16 +08:00
|
|
|
# CHECK-NOT: My Passed Tests (1)
|
|
|
|
# CHECK-NOT: custom-result-category :: test1.txt
|
|
|
|
# CHECK: My Failed Tests (1)
|
|
|
|
# CHECK: custom-result-category :: test2.txt
|
2020-04-15 06:55:38 +08:00
|
|
|
|
2020-04-08 13:48:39 +08:00
|
|
|
# CHECK: My Passed: 1
|
|
|
|
# CHECK: My Failed: 1
|