Lines Matching refs:config

6 config.name = 'slang_lit_tests'
9 config.suffixes = ['.rs', '.ll']
13 config.test_format = lit.formats.ShTest()
16 config.base_path = os.getenv('ANDROID_BUILD_TOP')
20 config.test_source_root = None
24 config.test_exec_root = os.path.join(config.base_path, 'out', 'tests', 'slang', 'lit-tests')
27 config.target_triple = 'slang'
47 config.slang = inferTool('llvm-rs-cc', 'SLANG', os.path.join(os.getenv('ANDROID_HOST_OUT'), 'bin'))…
48 config.llvm_rs_as = inferTool('llvm-rs-as', 'LLVM_RS_AS', os.path.join(os.getenv('ANDROID_HOST_OUT'…
50 config.filecheck = inferTool('FileCheck', 'FILECHECK', config.environment['PATH'])
51 config.rs_filecheck_wrapper = inferTool('rs-filecheck-wrapper.sh', 'RS_FILECHECK_WRAPPER', os.path.…
52 config.scriptc_filecheck_wrapper = inferTool('scriptc-filecheck-wrapper.sh', 'SCRIPTC_FILECHECK_WRA…
55 config.slang_includes = "-I " + os.path.join(config.base_path, 'frameworks', 'rs', 'script_api', 'i…
56 … + "-I " + os.path.join(config.base_path, 'external', 'clang', 'lib', 'Headers')
58 config.slang_options = "-emit-llvm -o " + config.test_exec_root \
59 + " -output-dep-dir " + config.test_exec_root \
60 + " -java-reflection-path-base " + config.test_exec_root
63 lit_config.note('using slang: %r' % config.slang)
64 lit_config.note('using llvm-rs-as: %r' % config.llvm_rs_as)
65 lit_config.note('using FileCheck: %r' % config.filecheck)
66 lit_config.note('using rs-filecheck-wrapper.sh: %r' % config.rs_filecheck_wrapper)
67 lit_config.note('using output directory: %r' % config.test_exec_root)
70 config.substitutions.append( ('%Slang', ' ' + config.slang + ' ' + config.slang_includes + ' ' + co…
71 config.substitutions.append( ('%llvm-rs-as', config.llvm_rs_as) )
72 config.substitutions.append( ('%rs-filecheck-wrapper', ' ' + config.rs_filecheck_wrapper + ' ' + co…
73 config.substitutions.append( ('%scriptc-filecheck-wrapper', ' ' + config.scriptc_filecheck_wrapper …
74 lit_config.note(config.substitutions)