Lines Matching full:path
18 # test_source_root: The path where tests are located (default is the test suite
22 # test_exec_root: The path where tests are located (default is the test suite
24 config.test_exec_root = os.path.join(config.base_path, 'out', 'tests', 'slang', 'lit-tests')
29 def inferTool(binary_name, env_var, PATH):
34 if tool and os.path.isfile(tool):
37 # Otherwise look in the path.
39 tool = lit.util.which(binary_name, PATH)
42 lit_config.fatal("couldn't find " + binary_name + " program in " + PATH + " , try setting "
45 return os.path.abspath(tool)
47 config.slang = inferTool('llvm-rs-cc', 'SLANG', os.path.join(os.getenv('ANDROID_HOST_OUT'), 'bin')).replace('\\', '/')
48 config.llvm_rs_as = inferTool('llvm-rs-as', 'LLVM_RS_AS', os.path.join(os.getenv('ANDROID_HOST_OUT'), 'bin')).replace('\\', '/')
50 config.filecheck = inferTool('FileCheck', 'FILECHECK', config.environment['PATH'])
51 config.rs_filecheck_wrapper = inferTool('rs-filecheck-wrapper.sh', 'RS_FILECHECK_WRAPPER', os.path.join(config.base_path, 'frameworks', 'compile', 'slang', 'lit-tests'))
52 config.scriptc_filecheck_wrapper = inferTool('scriptc-filecheck-wrapper.sh', 'SCRIPTC_FILECHECK_WRAPPER', os.path.join(config.base_path, 'frameworks', 'compile', 'slang', 'lit-tests'))
55 config.slang_includes = "-I " + os.path.join(config.base_path, 'frameworks', 'rs', 'scriptc') + " " \
56 + "-I " + os.path.join(config.base_path, 'external', 'clang', 'lib', 'Headers')
60 + " -java-reflection-path-base " + config.test_exec_root