15 lines · plain
1@LIT_SITE_CFG_IN_HEADER@2 3import os4 5config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"6config.flang_rt_source_dir = "@FLANG_RT_SOURCE_DIR@"7config.flangrt_binary_dir = "@FLANG_RT_BINARY_DIR@"8config.flang_rt_binary_test_dir = os.path.dirname(__file__)9 10import lit.llvm11lit.llvm.initialize(lit_config, config)12 13# Let the main config do the real work.14lit_config.load_config(config, os.path.join(config.flang_rt_source_dir, 'test', 'NonGtestUnit', 'lit.cfg.py'))15