aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/tests/Inputs/py-config-discovery/lit.site.cfg.py
blob: 5536fe718fad44a62e6bb79f6725d865877b5236 (plain)
1
2
3
4
5
6
7
8
# 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"))