This is the first commit in a series that will reformat all the python files in the LLVM repository. Reformatting is done with `black`. See more information here: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, JDevlieghere, MatzeB Differential Revision: https://reviews.llvm.org/D150545
17 lines
474 B
INI
17 lines
474 B
INI
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.
|