Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / lit / tests / parallelism-groups.py
blob58293803746e3e579e374d64f3198e200e0191eb
1 # Check that we do not crash if a parallelism group is set to None. Permits
2 # usage of the following pattern.
4 # [lit.common.cfg]
5 # lit_config.parallelism_groups['my_group'] = None
6 # if <condition>:
7 # lit_config.parallelism_groups['my_group'] = 3
9 # [project/lit.cfg]
10 # config.parallelism_group = 'my_group'
13 # RUN: %{lit} -j2 %{inputs}/parallelism-groups | FileCheck %s
15 # CHECK: -- Testing: 2 tests, 2 workers --
16 # CHECK-DAG: PASS: parallelism-groups :: test1.txt
17 # CHECK-DAG: PASS: parallelism-groups :: test2.txt
18 # CHECK: Passed: 2