mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
e56242dfcc
Improve consistency when printing test results: Previously we were using different labels for group names (the header for the list of, e.g., failing tests) and summary count lines. For example, "Failing Tests"/"Unexpected Failures". This commit changes lit to label things consistently. Improve wording of labels: When talking about individual test results, the first word in "Unexpected Failures", "Expected Passes", and "Individual Timeouts" is superfluous. Some labels contain the word "Tests" and some don't. Let's simplify the names. Before: ``` Failing Tests (1): ... Expected Passes : 3 Unexpected Failures: 1 ``` After: ``` Failed Tests (1): ... Passed: 3 Failed: 1 ``` Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D77708
19 lines
558 B
Python
19 lines
558 B
Python
# Check that we do not crash if a parallelism group is set to None. Permits
|
|
# usage of the following pattern.
|
|
#
|
|
# [lit.common.cfg]
|
|
# lit_config.parallelism_groups['my_group'] = None
|
|
# if <condition>:
|
|
# lit_config.parallelism_groups['my_group'] = 3
|
|
#
|
|
# [project/lit.cfg]
|
|
# config.parallelism_group = 'my_group'
|
|
#
|
|
|
|
# RUN: %{lit} -j2 %{inputs}/parallelism-groups | FileCheck %s
|
|
|
|
# CHECK: -- Testing: 2 tests, 2 workers --
|
|
# CHECK-DAG: PASS: parallelism-groups :: test1.txt
|
|
# CHECK-DAG: PASS: parallelism-groups :: test2.txt
|
|
# CHECK: Passed: 2
|