1 # Check that we do not crash if a parallelism group is set to None. Permits
2 # usage of the following pattern.
5 # lit_config.parallelism_groups['my_group'] = None
7 # lit_config.parallelism_groups['my_group'] = 3
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