[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / utils / lit / tests / parallelism-groups.py
blobc6427bee124915f202d717bb5efc98b0a7317367
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'
12 # Note: We need at least 2 tests to prevent lit from using "single process
13 # mode", which ignores parallelism groups.
16 # RUN: %{lit} -j2 %{inputs}/parallelism-groups | FileCheck %s
18 # CHECK: -- Testing: 2 tests, 2 threads --
19 # CHECK-DAG: PASS: parallelism-groups :: test1.txt
20 # CHECK-DAG: PASS: parallelism-groups :: test2.txt
21 # CHECK: Expected Passes : 2