mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
43a39a845e
Before this change we showed all result groups with a code that was not explicitly hard-coded set. This set missed the FLAKYPASS result code. Let's generalize the code to always show failures and the additionally requested result codes.
16 lines
489 B
Python
16 lines
489 B
Python
# 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
|