2019-02-26 20:03:26 +01:00
|
|
|
# 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
|
|
|
|
|
2019-10-04 23:40:20 +02:00
|
|
|
# CHECK: -- Testing: 2 tests, 2 workers --
|
2019-02-26 20:03:26 +01:00
|
|
|
# CHECK-DAG: PASS: parallelism-groups :: test1.txt
|
|
|
|
# CHECK-DAG: PASS: parallelism-groups :: test2.txt
|
2020-04-08 07:48:39 +02:00
|
|
|
# CHECK: Passed: 2
|