Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / lit / tests / Inputs / config-map-discovery / driver.py
blob50ad2cd65cb1bcb44da39c5a2c584f9463c1c74d
1 import lit.util
2 import os
3 import sys
5 main_config = lit.util.abs_path_preserve_drive(sys.argv[1])
6 main_config = os.path.normcase(main_config)
8 config_map = {main_config: sys.argv[2]}
9 builtin_parameters = {"config_map": config_map}
11 if __name__ == "__main__":
12 from lit.main import main
14 main_config_dir = os.path.dirname(main_config)
15 sys.argv = [sys.argv[0]] + sys.argv[3:] + [main_config_dir]
16 main(builtin_parameters)