
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
9 lines
299 B
Python
9 lines
299 B
Python
# Load the discovery suite, but with a separate exec root.
|
|
import os
|
|
|
|
config.test_exec_root = os.path.dirname(__file__)
|
|
config.test_source_root = os.path.join(
|
|
os.path.dirname(config.test_exec_root), "discovery"
|
|
)
|
|
lit_config.load_config(config, os.path.join(config.test_source_root, "lit.cfg"))
|