brintos

brintos / llvm-project-archived public Read only

0
0
Text · 558 B · 5829380 Raw
19 lines · python
1# Check that we do not crash if a parallelism group is set to None. Permits2# usage of the following pattern.3#4# [lit.common.cfg]5#   lit_config.parallelism_groups['my_group'] = None6#   if <condition>:7#     lit_config.parallelism_groups['my_group'] = 38#9# [project/lit.cfg]10#   config.parallelism_group = 'my_group'11#12 13# RUN: %{lit} -j2 %{inputs}/parallelism-groups | FileCheck %s14 15# CHECK:     -- Testing: 2 tests, 2 workers --16# CHECK-DAG: PASS: parallelism-groups :: test1.txt17# CHECK-DAG: PASS: parallelism-groups :: test2.txt18# CHECK:     Passed: 219