| /llvm-project-15.0.7/compiler-rt/test/ |
| H A D | lit.common.cfg.py | 208 config.available_features.add(config.host_os.lower()) 264 elif config.host_os == 'Darwin' and config.apple_platform != "osx": 292 config.available_features.add(config.apple_platform) 337 config.substitutions.append( ('%arch', (config.host_arch))) 471 config.environment['ANDROID_SERIAL'] = config.android_serial 542 for exe in (config.gnu_ld_executable, config.gold_executable): 704 if config.use_lto and config.lto_supported: 706 elif config.use_lto and (not config.lto_supported): 709 if config.use_lld and config.has_lld and not config.use_lto: 711 elif config.use_lld and (not config.has_lld): [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/asan/ |
| H A D | lit.cfg.py | 57 config.name = 'AddressSanitizer' + config.name_suffix 64 if config.host_os == 'Darwin' and config.apple_platform == 'osx': 103 if config.asan_dynamic: 120 if config.asan_dynamic: 133 if config.asan_dynamic: 188 if config.host_arch.find('64') != -1 and not config.android: 197 config.available_features.add("asan-" + config.bits + "-bits") 200 if not config.arm_thumb: 212 push_dynamic_library_lookup_path(config, config.compiler_rt_libdir) 222 if config.host_os == 'Windows' and config.asan_dynamic: [all …]
|
| /llvm-project-15.0.7/llvm/test/ |
| H A D | lit.site.cfg.py.in | 5 config.host_triple = "@LLVM_HOST_TRIPLE@" 6 config.target_triple = "@LLVM_TARGET_TRIPLE@" 12 config.llvm_shlib_ext = "@SHLIBEXT@" 14 config.llvm_exe_ext = "@EXEEXT@" 22 config.have_ocamlopt = @HAVE_OCAMLOPT@ 23 config.ocaml_flags = "@OCAMLFLAGS@" 32 config.host_os = "@HOST_OS@" 33 config.host_cc = "@HOST_CC@" 34 config.host_cxx = "@HOST_CXX@" 53 config.host_arch = "@HOST_ARCH@" [all …]
|
| H A D | lit.cfg.py | 18 config.name = 'LLVM' 36 config.test_exec_root = os.path.join(config.llvm_obj_root, 'test') 89 config.substitutions.append(('%llvmshlibdir', config.llvm_shlib_dir)) 90 config.substitutions.append(('%shlibext', config.llvm_shlib_ext)) 91 config.substitutions.append(('%pluginext', config.llvm_plugin_ext)) 92 config.substitutions.append(('%exeext', config.llvm_exe_ext)) 118 if config.osx_sysroot: 122 config.ocamlfind_executable, config.llvm_lib_dir, config.ocaml_flags) 126 config.ocamlfind_executable, config.llvm_lib_dir, config.llvm_lib_dir, config.ocaml_flags) 247 config.targets = frozenset(config.targets_to_build.split()) [all …]
|
| /llvm-project-15.0.7/mlir/test/ |
| H A D | lit.site.cfg.py.in | 5 config.host_triple = "@LLVM_HOST_TRIPLE@" 7 config.llvm_src_root = "@LLVM_SOURCE_DIR@" 8 config.llvm_obj_root = "@LLVM_BINARY_DIR@" 12 config.llvm_shlib_ext = "@SHLIBEXT@" 13 config.llvm_exe_ext = "@EXEEXT@" 18 config.enable_shared = @ENABLE_SHARED@ 23 config.host_os = "@HOST_OS@" 24 config.host_cc = "@HOST_CC@" 25 config.host_cxx = "@HOST_CXX@" 27 config.host_cmake = "@CMAKE_COMMAND@" [all …]
|
| H A D | lit.cfg.py | 19 config.name = 'MLIR' 30 config.test_exec_root = os.path.join(config.mlir_obj_root, 'test') 32 config.substitutions.append(('%PATH%', config.environment['PATH'])) 33 config.substitutions.append(('%shlibext', config.llvm_shlib_ext)) 34 config.substitutions.append(("%mlir_src_root", config.mlir_src_root)) 35 config.substitutions.append(("%host_cxx", config.host_cxx)) 36 config.substitutions.append(("%host_cc", config.host_cc)) 53 config.test_exec_root = os.path.join(config.mlir_obj_root, 'test') 59 tool_dirs = [config.mlir_tools_dir, config.llvm_tools_dir] 95 if "asan" in config.available_features and "Linux" in config.host_os: [all …]
|
| /llvm-project-15.0.7/clang/test/ |
| H A D | lit.cfg.py | 19 config.name = 'Clang' 40 config.test_exec_root = os.path.join(config.clang_obj_root, 'test') 46 config.substitutions.append( 52 config.substitutions.append(('%PATH%', config.environment['PATH'])) 59 tool_dirs = [config.clang_tools_dir, config.llvm_tools_dir] 70 if config.clang_examples: 121 config.substitutions.append(('%host_cc', config.host_cc)) 122 config.substitutions.append(('%host_cxx', config.host_cxx)) 126 if config.has_plugins and config.llvm_plugin_ext: 240 if config.enable_shared: [all …]
|
| H A D | lit.site.cfg.py.in | 5 config.llvm_src_root = path(r"@LLVM_SOURCE_DIR@") 13 config.clang_lit_site_cfg = __file__ 18 config.host_triple = "@LLVM_HOST_TRIPLE@" 20 config.host_cc = "@CMAKE_C_COMPILER@" 21 config.host_cxx = "@CMAKE_CXX_COMPILER@" 23 config.have_zlib = @LLVM_ENABLE_ZLIB@ 31 config.enable_shared = @ENABLE_SHARED@ 34 config.host_arch = "@HOST_ARCH@" 42 lit.llvm.initialize(lit_config, config) 44 # Let the main config do the real work. [all …]
|
| /llvm-project-15.0.7/lld/test/ |
| H A D | lit.cfg.py | 17 config.name = 'lld' 30 config.excludes = ['Inputs'] 35 config.test_exec_root = os.path.join(config.lld_obj_root, 'test') 104 config.have_libxml2): 107 if config.enable_backtrace: 110 if config.have_libxar: 113 if config.have_libxml2: 116 if config.have_dia_sdk: 119 if config.sizeof_void_p == 8: 122 if config.has_plugins: [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ |
| H A D | lit.cfg.py | 5 def get_required_attr(config, attr_name): argument 15 config.name = 'Profile-' + config.target_arch 23 config.test_exec_root = os.path.join(config.profile_lit_binary_dir, config.name) 25 if config.host_os in ['Linux']: 38 config.excludes = ['Inputs'] 48 lto_flags += config.lto_flags 93 config.unsupported = True 95 if config.host_os in ['AIX']: 101 config.unsupported = True 103 if config.android: [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/lsan/ |
| H A D | lit.common.cfg.py | 32 if config.host_os == 'NetBSD': 33 config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix)) 36 config.name += config.name_suffix 41 if config.host_os == 'Darwin': 57 clang_cflags = ["-O0", config.target_cflags] + config.debug_info_flags 58 if config.android: 78 …pported_android = config.android and config.target_arch in ['x86_64', 'i386', 'aarch64'] and 'andr… 80 supported_darwin = config.host_os == 'Darwin' and config.target_arch in ['x86_64'] 81 supported_netbsd = config.host_os == 'NetBSD' and config.target_arch in ['x86_64', 'i386'] 83 config.unsupported = True [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/ |
| H A D | lit.common.cfg.py | 6 config.name = "SanitizerCommon-" + config.name_suffix 10 if config.tool_name == "asan": 13 elif config.tool_name == "tsan": 29 config.available_features.add(config.tool_name) 31 if config.host_os == 'Linux' and config.tool_name == "lsan" and config.target_arch == 'i386': 34 if config.arm_thumb: 43 elif config.android: 59 clang_cflags = config.debug_info_flags + tool_cflags + [config.target_cflags] 70 config.substitutions.append( ("%tool_name", config.tool_name) ) 78 config.unsupported = True [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/test/ |
| H A D | lit.cfg | 9 config = object() 34 config.name = 'libomptarget :: ' + config.libomptarget_current_target 43 config.test_exec_root = config.libomptarget_obj_root 49 config.test_flags = " -I " + config.test_source_root + \ 54 config.test_flags = config.test_flags + " -L " + \ 57 config.test_flags = config.test_flags + " " + config.test_extra_flags 67 config.available_features.add(config.libomptarget_current_target) 96 config.test_flags += " -Wl,-rpath," + config.library_dir 99 config.test_flags += " -Wl,-rpath," + config.library_dir 103 config.test_flags += " -Wl,-rpath," + config.cuda_libdir [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/memprof/ |
| H A D | lit.cfg.py | 18 def get_required_attr(config, attr_name): argument 19 attr_value = getattr(config, attr_name, None) 28 config.name = 'MemProfiler' + config.name_suffix 57 if config.memprof_dynamic: 72 if config.memprof_dynamic: 80 config.available_features.add('memprof-' + config.bits + '-bits') 86 (config.compiler_rt_libdir, config.environment.get('LD_LIBRARY_PATH', ''))) 90 config.suffixes = ['.c', '.cpp'] 97 if config.host_os not in ['Linux']: 98 config.unsupported = True [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/xray/ |
| H A D | lit.cfg.py | 6 config.name = 'XRay' + config.name_suffix 17 if config.libcxx_used == "1" and config.host_os == "Linux": 36 config.substitutions.append( 38 config.substitutions.append( 40 build_invocation(config.cxx_mode_flags + [config.target_cflags]))) 41 config.substitutions.append( 43 config.substitutions.append( 45 config.substitutions.append( 51 % (libdl_flag, config.compiler_rt_libdir, config.target_suffix))) 57 config.unsupported = True [all …]
|
| /llvm-project-15.0.7/lldb/test/API/ |
| H A D | lit.cfg.py | 14 config.name = 'lldb-api' 17 config.suffixes = ['.py'] 23 config.test_exec_root = os.path.join(config.lldb_obj_root, 'test', 'API') 38 [config.cmake_cxx_compiler, 64 config.python_executable, 92 return getattr(config, attr, None) 107 if 'Darwin' in config.host_os: 112 if 'Darwin' in config.host_os: 125 (config.llvm_shlib_dir, config.llvm_libs_dir, 180 if env_var in config.environment: [all …]
|
| H A D | lit.site.cfg.py.in | 3 config.llvm_src_root = "@LLVM_SOURCE_DIR@" 4 config.llvm_obj_root = "@LLVM_BINARY_DIR@" 11 config.lldb_obj_root = "@LLDB_BINARY_DIR@" 12 config.lldb_src_root = "@LLDB_SOURCE_DIR@" 16 config.host_os = "@HOST_OS@" 24 config.lua_test_entry = "TestLuaAPI.py" 27 config.dotest_lit_args_str = None 28 config.enabled_plugins = [] 30 config.test_arch = '@LLDB_TEST_ARCH@' 33 config.has_libcxx = '@LLDB_HAS_LIBCXX@' [all …]
|
| /llvm-project-15.0.7/openmp/runtime/test/ |
| H A D | lit.cfg | 11 config = object() 25 config.environment[name] = path + sep + config.environment[name] 39 config.test_exec_root = config.libomp_obj_root 51 config.test_flags = " -I " + config.omp_header_directory + flags 57 if config.has_libm: 78 config.test_flags += " -Wl,-rpath," + config.library_dir 93 if config.has_ompt and config.test_filecheck == "": 139 config.substitutions.append(("%clang", config.test_c_compiler)) 143 if config.is_standalone_build and config.test_compiler_has_omp_h: 151 config.substitutions.append(("%flags", config.test_flags)) [all …]
|
| /llvm-project-15.0.7/openmp/tools/archer/tests/ |
| H A D | lit.cfg | 11 config = object() 25 config.environment[name] = path + sep + config.environment[name] 39 config.test_exec_root = config.libarcher_obj_root 45 config.test_flags = " -I " + config.test_source_root + \ 71 config.test_flags += " -Wl,-rpath," + config.omp_library_dir 115 config.substitutions.append(("%clang-archer", config.test_c_compiler)) 116 config.substitutions.append(("%openmp_flags", config.test_openmp_flags)) 117 config.substitutions.append(("%archer_flags", config.archer_flags)) 118 config.substitutions.append(("%flags", config.test_flags)) 123 config.substitutions.append(("FileCheck", config.test_filecheck)) [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | lit.cfg.py | 5 def get_required_attr(config, attr_name): argument 15 config.name = 'ThreadSanitizer' + config.name_suffix 23 if config.host_os == 'Darwin': 41 if config.compiler_id == 'GNU': 57 if config.has_libcxx and config.host_os != 'Darwin': 77 config.substitutions.append( ('CHECK-%os', ("CHECK-" + config.host_os))) 85 config.unsupported = True 87 if config.android: 88 config.unsupported = True 93 if config.host_os == 'NetBSD': [all …]
|
| /llvm-project-15.0.7/flang/test/ |
| H A D | lit.cfg.py | 19 config.name = 'Flang' 33 config.substitutions.append(('%PATH%', config.environment['PATH'])) 34 config.substitutions.append(('%llvmshlibdir', config.llvm_shlib_dir)) 35 config.substitutions.append(('%pluginext', config.llvm_plugin_ext)) 44 config.targets = frozenset(config.targets_to_build.split()) 54 if config.flang_examples: 58 if config.has_plugins: 65 config.test_exec_root = os.path.join(config.flang_obj_root, 'test') 71 if config.flang_standalone_build: 75 if config.llvm_tools_dir != config.flang_llvm_tools_dir: [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/ubsan/ |
| H A D | lit.common.cfg.py | 5 def get_required_attr(config, attr_name): argument 6 attr_value = getattr(config, attr_name, None) 15 config.name = 'UBSan-' + config.name_suffix 43 if config.target_arch == 's390x': 65 config.substitutions.append( ("%gmlt ", " ".join(config.debug_info_flags) + " ") ) 72 config.unsupported = True 74 config.available_features.add('arch=' + config.target_arch) 76 config.excludes = ['Inputs'] 79 if not config.parallelism_group: 81 if config.host_os == 'NetBSD': [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/cfi/ |
| H A D | lit.cfg.py | 4 config.name = 'cfi' + config.name_suffix 5 config.suffixes = ['.c', '.cpp', '.test'] 12 clangxx = build_invocation([config.target_cflags] + config.cxx_mode_flags) 19 config.unsupported = True 20 elif config.lto_supported: 28 config.substitutions.append((r"%expect_crash_unless_devirt ", config.expect_crash)) 34 if config.android: 42 config.substitutions.append((r"%debug_info_flags", ' '.join(config.debug_info_flags))) 44 config.unsupported = True 46 if config.default_sanitizer_opts: [all …]
|
| /llvm-project-15.0.7/libcxx/test/configs/ |
| H A D | legacy.cfg.in | 9 config.cxx_under_test = "@CMAKE_CXX_COMPILER@" 10 config.project_obj_root = "@CMAKE_BINARY_DIR@" 11 config.install_root = "@CMAKE_BINARY_DIR@" 12 config.libcxx_src_root = "@LIBCXX_SOURCE_DIR@" 20 config.sysroot = "@CMAKE_SYSROOT@" 43 config.name = 'libc++' 49 config.test_source_root = os.path.join(config.libcxx_src_root, 'test') 52 config.recursiveExpansionLimit = 10 55 config.test_exec_root = os.path.join(config.libcxx_obj_root, 'test') 61 import libcxx.test.config [all …]
|
| /llvm-project-15.0.7/libcxx/utils/libcxx/test/ |
| H A D | dsl.py | 110 def _makeConfigTest(config): argument 323 def applyTo(self, config): argument 364 def applyTo(self, config): argument 365 config.available_features.add(self._getName(config)) 379 self._getFlag = lambda config: flag(config) if callable(flag) else flag 399 self._getFlag = lambda config: flag(config) if callable(flag) else flag 418 self._getFlag = lambda config: flag(config) if callable(flag) else flag 437 self._getFlag = lambda config: flag(config) if callable(flag) else flag 456 self._getFlag = lambda config: flag(config) if callable(flag) else flag 476 self._getFlag = lambda config: flag(config) if callable(flag) else flag [all …]
|