/external/llvm-project/compiler-rt/test/profile/ |
D | lit.cfg.py | 54 config.substitutions.append( ("%clang ", build_invocation(clang_cflags)) ) 55 config.substitutions.append( ("%clangxx ", build_invocation(clang_cxxflags)) ) 56 config.substitutions.append( ("%clang_profgen ", build_invocation(clang_cflags) + " -fprofile-instr… 57 config.substitutions.append( ("%clang_profgen=", build_invocation(clang_cflags) + " -fprofile-instr… 58 config.substitutions.append( ("%clang_pgogen ", build_invocation(clang_cflags) + " -fprofile-genera… 59 config.substitutions.append( ("%clang_pgogen=", build_invocation(clang_cflags) + " -fprofile-genera… 61 config.substitutions.append( ("%clangxx_profgen ", build_invocation(clang_cxxflags) + " -fprofile-i… 62 config.substitutions.append( ("%clangxx_profgen=", build_invocation(clang_cxxflags) + " -fprofile-i… 63 config.substitutions.append( ("%clangxx_pgogen ", build_invocation(clang_cxxflags) + " -fprofile-ge… 64 config.substitutions.append( ("%clangxx_pgogen=", build_invocation(clang_cxxflags) + " -fprofile-ge… [all …]
|
/external/llvm-project/compiler-rt/test/asan/ |
D | lit.cfg.py | 71 config.substitutions.append(('%env_asan_opts=', 129 config.substitutions.append( ("%clang ", build_invocation(target_cflags)) ) 130 config.substitutions.append( ("%clangxx ", build_invocation(target_cxxflags)) ) 131 config.substitutions.append( ("%clang_asan ", build_invocation(clang_asan_cflags)) ) 132 config.substitutions.append( ("%clangxx_asan ", build_invocation(clang_asan_cxxflags)) ) 143 config.substitutions.append( ("%shared_libasan", shared_libasan_path) ) 144 config.substitutions.append( ("%clang_asan_static ", build_invocation(clang_asan_static_cflags)) ) 145 …config.substitutions.append( ("%clangxx_asan_static ", build_invocation(clang_asan_static_cxxflags… 159 config.substitutions.append( ("%clang_cl ", clang_cl_invocation) ) 163 config.substitutions.append( ("%clang_cl_asan ", clang_cl_asan_invocation) ) [all …]
|
/external/llvm-project/openmp/libomptarget/test/ |
D | lit.cfg | 78 # substitutions 88 config.substitutions.append(("%libomptarget-compilexx-run-and-check-" + \ 92 config.substitutions.append(("%libomptarget-compile-run-and-check-" + \ 96 config.substitutions.append(("%libomptarget-compilexx-and-run-" + \ 100 config.substitutions.append(("%libomptarget-compile-and-run-" + \ 104 config.substitutions.append(("%libomptarget-compilexx-" + \ 108 config.substitutions.append(("%libomptarget-compile-" + \ 112 config.substitutions.append(("%libomptarget-run-" + \ 115 config.substitutions.append(("%libomptarget-run-fail-" + \ 118 config.substitutions.append(("%clangxx-" + libomptarget_target, \ [all …]
|
/external/llvm-project/compiler-rt/test/ |
D | lit.common.cfg.py | 108 config.substitutions.append( 120 config.substitutions.append( ('%run_nomprotect', 123 config.substitutions.append( ('%run_nomprotect', '%run') ) 139 config.substitutions.append( ('%run', emulator) ) 140 config.substitutions.append( ('%env ', "env ") ) 144 config.substitutions.append( ('%device_rm', 'echo ') ) 185 config.substitutions.append(('%run', run_wrapper)) 186 config.substitutions.append(('%env ', env_wrapper + " ")) 189 config.substitutions.append(('%device_rm', '{} rm '.format(run_wrapper))) 206 config.substitutions.append( ('%run', "") ) [all …]
|
/external/llvm-project/compiler-rt/test/memprof/ |
D | lit.cfg.py | 36 config.substitutions.append(('%env_memprof_opts=', 67 config.substitutions.append( ("%clang ", build_invocation(target_cflags)) ) 68 config.substitutions.append( ("%clangxx ", build_invocation(target_cxxflags)) ) 69 config.substitutions.append( ("%clang_memprof ", build_invocation(clang_memprof_cflags)) ) 70 config.substitutions.append( ("%clangxx_memprof ", build_invocation(clang_memprof_cxxflags)) ) 73 config.substitutions.append( ("%shared_libmemprof", shared_libmemprof_path) ) 74 …config.substitutions.append( ("%clang_memprof_static ", build_invocation(clang_memprof_static_cfla… 75 …config.substitutions.append( ("%clangxx_memprof_static ", build_invocation(clang_memprof_static_cx… 78 config.substitutions.append(("%stdcxx11 ", '-std=c++11 ')) 80 config.substitutions.append( ("%libdl", libdl_flag) ) [all …]
|
/external/llvm-project/openmp/tools/archer/tests/ |
D | lit.cfg | 94 config.substitutions.append(("%libarcher-compile-and-run-race-noserial", \ 96 config.substitutions.append(("%libarcher-compile-and-run-race", \ 98 config.substitutions.append(("%libarcher-compile-and-run-nosuppression", \ 100 config.substitutions.append(("%libarcher-compile-and-run", \ 102 config.substitutions.append(("%libarcher-cxx-compile-and-run", \ 104 config.substitutions.append(("%libarcher-cxx-compile", \ 106 config.substitutions.append(("%libarcher-compile", \ 108 config.substitutions.append(("%libarcher-run-race", "%suppression %deflake %t 2>&1 | tee %t.log")) 109 config.substitutions.append(("%libarcher-run-nosuppression", "%nosuppression %t 2>&1 | tee %t.log")) 110 config.substitutions.append(("%libarcher-run", "%suppression %t 2>&1 | tee %t.log")) [all …]
|
/external/llvm-project/compiler-rt/test/cfi/ |
D | lit.cfg.py | 14 config.substitutions.append((r"%clang ", clang + ' ')) 15 config.substitutions.append((r"%clangxx ", clangxx + ' ')) 22 config.substitutions.append((r"%expect_crash_unless_devirt ", "")) 24 config.substitutions.append((r"%expect_crash_unless_devirt ", config.expect_crash)) 32 config.substitutions.append((r"%clang_cfi ", clang_cfi + non_dso)) 33 config.substitutions.append((r"%clangxx_cfi ", clang_cfi + cxx + non_dso)) 34 config.substitutions.append((r"%clang_cfi_diag ", clang_cfi + non_dso + diag)) 35 config.substitutions.append((r"%clangxx_cfi_diag ", clang_cfi + cxx + non_dso + diag)) 36 config.substitutions.append((r"%clangxx_cfi_dso ", clang_cfi + cxx + dso)) 37 config.substitutions.append((r"%clangxx_cfi_dso_diag ", clang_cfi + cxx + dso + diag)) [all …]
|
/external/llvm-project/openmp/runtime/test/ |
D | lit.cfg | 114 # substitutions 115 config.substitutions.append(("%libomp-compile-and-run", \ 117 config.substitutions.append(("%libomp-cxx-compile-and-run", \ 119 config.substitutions.append(("%libomp-cxx-compile-c", \ 121 config.substitutions.append(("%libomp-cxx-compile", \ 123 config.substitutions.append(("%libomp-compile", \ 125 config.substitutions.append(("%libomp-run", "%t")) 126 config.substitutions.append(("%clangXX", config.test_cxx_compiler)) 127 config.substitutions.append(("%clang", config.test_c_compiler)) 128 config.substitutions.append(("%openmp_flags", config.test_openmp_flags)) [all …]
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/ |
D | lit.cfg | 51 # substitutions 52 config.substitutions.append(("%compilexx-run-and-check", 54 config.substitutions.append(("%compile-run-and-check", 56 config.substitutions.append(("%compilexx-and-run", "%compilexx && %run")) 57 config.substitutions.append(("%compile-and-run", "%compile && %run")) 59 config.substitutions.append(("%compilexx", 61 config.substitutions.append(("%compile", 64 config.substitutions.append(("%clangxx", config.test_cxx_compiler)) 65 config.substitutions.append(("%clang", config.test_c_compiler)) 66 config.substitutions.append(("%openmp_flags", config.test_openmp_flags)) [all …]
|
/external/compiler-rt/test/cfi/ |
D | lit.cfg | 10 config.substitutions.append((r"%clang ", ' '.join([config.clang]) + ' ')) 11 config.substitutions.append((r"%clangxx ", clangxx + ' ')) 18 config.substitutions.append((r"%expect_crash_unless_devirt ", "")) 20 config.substitutions.append((r"%expect_crash_unless_devirt ", config.expect_crash)) 26 config.substitutions.append((r"%clang_cfi ", clang_cfi + non_dso)) 27 config.substitutions.append((r"%clangxx_cfi ", clang_cfi + cxx + non_dso)) 28 config.substitutions.append((r"%clang_cfi_diag ", clang_cfi + non_dso + diag)) 29 config.substitutions.append((r"%clangxx_cfi_diag ", clang_cfi + cxx + non_dso + diag)) 30 config.substitutions.append((r"%clangxx_cfi_dso ", clang_cfi + cxx + dso)) 31 config.substitutions.append((r"%clangxx_cfi_dso_diag ", clang_cfi + cxx + dso + diag))
|
/external/compiler-rt/test/asan/ |
D | lit.cfg | 43 config.substitutions.append(('%env_asan_opts=', 101 config.substitutions.append( ("%clang ", build_invocation(target_cflags)) ) 102 config.substitutions.append( ("%clangxx ", build_invocation(target_cxxflags)) ) 103 config.substitutions.append( ("%clang_asan ", build_invocation(clang_asan_cflags)) ) 104 config.substitutions.append( ("%clangxx_asan ", build_invocation(clang_asan_cxxflags)) ) 105 config.substitutions.append( ("%shared_libasan", "libclang_rt.asan-%s.so" % config.target_arch)) 107 config.substitutions.append( ("%clang_asan_static ", build_invocation(clang_asan_static_cflags)) ) 108 …config.substitutions.append( ("%clangxx_asan_static ", build_invocation(clang_asan_static_cxxflags… 121 config.substitutions.append( ("%clang_cl_asan ", clang_cl_invocation) ) 123 config.substitutions.append( ("%asan_lib", base_lib % "") ) [all …]
|
/external/llvm-project/compiler-rt/test/crt/ |
D | lit.cfg.py | 61 config.substitutions.append( 63 config.substitutions.append( 74 config.substitutions.append(('%crtbegin', base_lib % "crtbegin")) 75 config.substitutions.append(('%crtend', base_lib % "crtend")) 77 config.substitutions.append( 79 config.substitutions.append( 81 config.substitutions.append( 84 config.substitutions.append( 87 config.substitutions.append(
|
/external/llvm-project/compiler-rt/test/hwasan/ |
D | lit.cfg.py | 34 config.substitutions.append( ("%clangxx ", build_invocation(clang_cxxflags)) ) 35 config.substitutions.append( ("%clang_hwasan ", build_invocation(clang_hwasan_cflags)) ) 36 config.substitutions.append( ("%clang_hwasan_oldrt ", build_invocation(clang_hwasan_oldrt_cflags)) ) 37 config.substitutions.append( ("%clangxx_hwasan ", build_invocation(clang_hwasan_cxxflags)) ) 38 config.substitutions.append( ("%clangxx_hwasan_oldrt ", build_invocation(clang_hwasan_oldrt_cxxflag… 39 config.substitutions.append( ("%compiler_rt_libdir", config.compiler_rt_libdir) ) 45 config.substitutions.append(('%env_hwasan_opts=',
|
/external/llvm-project/libcxx/utils/libcxx/test/ |
D | format.py | 25 command = lit.TestRunner.applySubstitutions([command], config.substitutions, 44 def _checkBaseSubstitutions(substitutions): argument 45 substitutions = [s for (s, _) in substitutions] 47 assert s in substitutions, "Required substitution {} was not provided".format(s) 68 substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir, tmpBase, 72 _checkBaseSubstitutions(substitutions) 73 … substitutions.append(('%{build}', '%{cxx} %s %{flags} %{compile_flags} %{link_flags} -o %t.exe')) 74 substitutions.append(('%{run}', '%{exec} %t.exe')) 104 substitutions = [(s, x + ' ' + ' '.join(additionalCompileFlags)) if s == '%{compile_flags}' 105 else (s, x) for (s, x) in substitutions] [all …]
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | lit.cfg.py | 37 config.substitutions.append(('%env_tsan_opts=', 66 config.substitutions.append( ("%link_libcxx_tsan", libcxx_a) ) 68 config.substitutions.append( ("%link_libcxx_tsan", "") ) 73 config.substitutions.append( ("%clang_tsan ", build_invocation(clang_tsan_cflags)) ) 74 config.substitutions.append( ("%clangxx_tsan ", build_invocation(clang_tsan_cxxflags)) ) 77 config.substitutions.append( ('CHECK-%os', ("CHECK-" + config.host_os))) 79 config.substitutions.append( ("%deflake ", os.path.join(os.path.dirname(__file__), "deflake.bash") … 94 config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
|
/external/llvm-project/compiler-rt/test/xray/ |
D | lit.cfg.py | 36 config.substitutions.append( 38 config.substitutions.append( 41 config.substitutions.append( 43 config.substitutions.append( 45 config.substitutions.append( 47 config.substitutions.append( 66 config.substitutions.insert(0, ('%run', config.netbsd_nomprotect_prefix))
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | lit.cfg.py | 60 config.substitutions.append(('%build_dir', config.cmake_binary_dir)) 62 config.substitutions.append(('%libfuzzer_src', libfuzzer_src_root)) 89 config.substitutions.append(('%cpp_compiler', 93 config.substitutions.append(('%c_compiler', 97 config.substitutions.append(('%no_fuzzer_cpp_compiler', 101 config.substitutions.append(('%no_fuzzer_c_compiler', 105 config.substitutions.append(('%msan_compiler', 113 config.substitutions.append(('%env_asan_opts=', 120 config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
|
/external/llvm-project/compiler-rt/test/msan/ |
D | lit.cfg.py | 34 config.substitutions.append( ("%clang_msan ", build_invocation(clang_msan_cflags)) ) 35 config.substitutions.append( ("%clangxx_msan ", build_invocation(clang_msan_cxxflags)) ) 36 config.substitutions.append( ("%clang_kmsan ", build_invocation(clang_kmsan_cflags)) ) 48 config.substitutions.append( ('CHECK-%short-stack', 'CHECK-SHORT-STACK')) 50 config.substitutions.append( ('CHECK-%short-stack', 'CHECK-FULL-STACK')) 53 config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
|
/external/compiler-rt/test/profile/ |
D | lit.cfg | 55 # Add clang substitutions. 56 config.substitutions.append( ("%clang ", build_invocation(clang_cflags)) ) 57 config.substitutions.append( ("%clangxx ", build_invocation(clang_cxxflags)) ) 58 config.substitutions.append( ("%clang_profgen ", build_invocation(clang_cflags) + " -fprofile-instr… 59 config.substitutions.append( ("%clang_profgen=", build_invocation(clang_cflags) + " -fprofile-instr… 60 config.substitutions.append( ("%clang_profuse=", build_invocation(clang_cflags) + " -fprofile-instr… 61 config.substitutions.append( ("%clangxx_profgen ", build_invocation(clang_cxxflags) + " -fprofile-i… 62 config.substitutions.append( ("%clangxx_profuse=", build_invocation(clang_cxxflags) + " -fprofile-i… 63 config.substitutions.append( ("%clang_profgen_gcc=", build_invocation(clang_cflags) + " -fprofile-g… 64 config.substitutions.append( ("%clang_profuse_gcc=", build_invocation(clang_cflags) + " -fprofile-u…
|
/external/llvm-project/compiler-rt/test/sanitizer_common/ |
D | lit.common.cfg.py | 63 config.substitutions.append( ("%clang ", build_invocation(clang_cflags)) ) 64 config.substitutions.append( ("%clangxx ", build_invocation(clang_cxxflags)) ) 65 config.substitutions.append( ("%collect_stack_traces", collect_stack_traces) ) 66 config.substitutions.append( ("%tool_name", config.tool_name) ) 67 config.substitutions.append( ("%tool_options", tool_options) ) 68 config.substitutions.append( ('%env_tool_opts=', 80 config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
|
/external/llvm-project/compiler-rt/test/scudo/ |
D | lit.cfg.py | 40 config.substitutions.append(("%clang ", build_invocation(c_flags))) 41 config.substitutions.append(("%clang_scudo ", build_invocation(c_flags + scudo_flags))) 42 config.substitutions.append(("%clangxx_scudo ", build_invocation(cxx_flags + scudo_flags))) 43 config.substitutions.append(("%shared_libscudo", shared_libscudo)) 44 config.substitutions.append(("%shared_minlibscudo", shared_minlibscudo)) 59 config.substitutions.append(('%env_scudo_opts=',
|
/external/llvm-project/openmp/tools/multiplex/tests/ |
D | lit.cfg | 79 # substitutions 80 config.substitutions.append(("FileCheck", "tee %%t.out | %s" % config.test_filecheck)) 81 config.substitutions.append(("%sort-threads", "sort --numeric-sort --stable")) 83 config.substitutions.append(("%libomp-compile-and-run", \ 85 config.substitutions.append(("%libomp-compile", \ 87 config.substitutions.append(("%libomp-tool", \ 89 config.substitutions.append(("%libomp-run", "%t")) 90 config.substitutions.append(("%clang", config.test_c_compiler)) 91 config.substitutions.append(("%openmp_flag", config.test_openmp_flags)) 92 config.substitutions.append(("%cflags", config.test_flags))
|
/external/llvm-project/libcxx/test/libcxx/selftest/dsl/ |
D | lit.local.cfg | 1 # Since we try to pass substitutions as-is to some tests, we must "escape" 2 # them in case they contain other substitutions. Otherwise, the substitutions 8 # To solve this problem, we add base64 encoded versions of substitutions just 14 escaped = [(k.replace('%{', '%{escaped_'), base64Encode(v)) for (k, v) in config.substitutions] 15 config.substitutions.extend(escaped) 20 config.substitutions.append(('%{python}', pipes.quote(sys.executable)))
|
/external/llvm-project/llvm/utils/lit/tests/unit/ |
D | TestRunner.py | 227 substitutions = [("%bar", "hello")] 228 result = lit.TestRunner.applySubstitutions(script, substitutions) 233 substitutions = [("%bar", "hello"), 236 result = lit.TestRunner.applySubstitutions(script, substitutions) 242 substitutions = [("%cxx", "clang++"), 245 result = lit.TestRunner.applySubstitutions(script, substitutions) 251 substitutions = [("%cxx", "clang++"), 255 result = lit.TestRunner.applySubstitutions(script, substitutions, recursion_limit=3) 263 substitutions = [("%rec1", "STOP"), ("%rec2", "%rec1"), 266 result = lit.TestRunner.applySubstitutions(script, substitutions, recursion_limit=limit) [all …]
|
/external/llvm-project/llvm/utils/lit/lit/llvm/ |
D | config.py | 288 substitutions = [] 305 substitutions.append((subst_key, tool_pipe + command)) 307 self.config.substitutions.extend(substitutions) 318 self.config.substitutions.append(('%python', '"%s"' % (sys.executable))) 402 self.config.substitutions.append(('%llvmshlibdir', shl)) 404 self.config.substitutions.append(('%pluginext', pext)) 421 self.config.substitutions.append( 424 self.config.substitutions.append(('%itanium_abi_triple', 426 self.config.substitutions.append(('%ms_abi_triple', 432 self.config.substitutions.append(('%target_itanium_abi_host_triple', [all …]
|