llvm/utils/lit/tests/Inputs/py-config-discovery/lit.site.cfg.py
raw| 1 | # Load the discovery suite, but with a separate exec root. |
| 2 | import os |
| 3 | |
| 4 | config.test_exec_root = os.path.dirname(__file__) |
| 5 | config.test_source_root = os.path.join( |
| 6 | os.path.dirname(config.test_exec_root), "discovery" |
| 7 | ) |
| 8 | lit_config.load_config(config, os.path.join(config.test_source_root, "lit.cfg")) |