mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-15 10:26:23 +00:00

Add a new --order option to choose between available test orders: the default "smart" order, predictable "lexical" order or "random" order. Default to using lexical order and one job in the lit test suite. Differential Revision: https://reviews.llvm.org/D107695
16 lines
484 B
Python
16 lines
484 B
Python
# UNSUPPORTED: system-windows
|
|
# Test lit.main.add_result_category() extension API.
|
|
|
|
# RUN: not %{lit} %{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
|