llvm/llvm/utils/lit/tests/Inputs/parallelism-groups/lit.cfg

import lit.formats

config.name = "parallelism-groups"
config.suffixes = [".txt"]
config.test_format = lit.formats.ShTest()
config.test_source_root = None
config.test_exec_root = None

# Should not crash
lit_config.parallelism_groups["my_group"] = None

config.parallelism_group = "my_group"

# TODO(yln): we should have a nice property setter that doesn't allow setting
# to a non-existent group and do Math.min(old_group, new_group) when we
# overwrite an existing group.