Home
last modified time | relevance | path

Searched refs:subprocess (Results 1 – 25 of 228) sorted by relevance

12345678910

/llvm-project-15.0.7/llvm/utils/reduce_pipeline_test/
H A Dtest.py5 import subprocess
26 run = subprocess.run(run_args,
27 stdout=subprocess.PIPE,
28 stderr=subprocess.PIPE)
42 run = subprocess.run(run_args,
43 stdout=subprocess.PIPE,
44 stderr=subprocess.PIPE)
55 run = subprocess.run(run_args,
69 run = subprocess.run(run_args,
83 run = subprocess.run(run_args,
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcheck-analyzer-fixit.py31 import subprocess
65 builtin_include_dir = subprocess.check_output(
67 except subprocess.CalledProcessError as e:
81 subprocess.check_output(args, stderr=subprocess.STDOUT).decode()
82 except subprocess.CalledProcessError as e:
91 diff_output = subprocess.check_output(
93 stderr=subprocess.STDOUT)
94 except subprocess.CalledProcessError as e:
102 subprocess.check_output(
105 stderr=subprocess.STDOUT)
[all …]
/llvm-project-15.0.7/llvm/utils/
H A Dreduce_pipeline.py30 import subprocess
73 opt = subprocess.run(run_args,
74 stdout=subprocess.PIPE,
75 stderr=subprocess.PIPE)
95 opt = subprocess.run(run_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
132 optA = subprocess.run(run_args,
133 stdout=subprocess.PIPE,
134 stderr=subprocess.PIPE)
140 optB = subprocess.run(run_args,
167 optA = subprocess.run(run_args,
[all …]
H A Dextract_symbols.py22 import subprocess
34 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
47 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
50 process = subprocess.Popen(['nm','-P',lib], bufsize=1,
51 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
68 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
98 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
112 output = subprocess.check_output(['objdump','-f',lib],
376 p = subprocess.Popen([exe], stdout=subprocess.PIPE,
377 stderr=subprocess.PIPE,
[all …]
H A Drevert_checker.py46 import subprocess
75 with subprocess.Popen(
76 command, stdout=subprocess.PIPE, encoding='utf-8', errors='replace') as p:
85 return subprocess.check_output(
88 stderr=subprocess.DEVNULL,
152 return subprocess.check_output(
166 return subprocess.check_output(
205 object_type = subprocess.check_output(
208 stderr=subprocess.DEVNULL,
210 except subprocess.CalledProcessError:
H A Dextract_vplan.py13 import subprocess
35 p = subprocess.Popen([dot, '-Tpng', '-o', filename],
37 stdin=subprocess.PIPE,
38 stdout=subprocess.PIPE,
39 stderr=subprocess.PIPE)
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/cases/
H A D__init__.py8 import subprocess
31 kwargs.update({'stdout': subprocess.PIPE, 'stderr': subprocess.STDOUT})
32 return subprocess.call(cmd, *args, **kwargs)
36 kwargs.update({'stdout': subprocess.PIPE, 'stderr': subprocess.STDOUT})
37 return subprocess.check_call(cmd, *args, **kwargs)
41 child = subprocess.Popen(analyzer_cmd + ['-v'] + build_cmd,
43 stdout=subprocess.PIPE,
44 stderr=subprocess.STDOUT)
62 raise subprocess.CalledProcessError(
/llvm-project-15.0.7/llvm/test/Support/
H A Dinterrupts.test8 import subprocess
13 proc = subprocess.Popen([sys.argv[2]], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
24 # On Windows, this function spawns the subprocess in its own (hidden) console,
30 startupinfo = subprocess.STARTUPINFO()
31 startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
32 proc = subprocess.Popen(args,
35 creationflags=subprocess.CREATE_NEW_CONSOLE)
37 proc = subprocess.Popen(args,
38 stderr=subprocess.PIPE)
/llvm-project-15.0.7/clang/tools/clang-format/
H A Dgit-clang-format32 import subprocess
294 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
329 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
413 git_metadata = subprocess.Popen(git_metadata_cmd, stdin=subprocess.PIPE,
440 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
467 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE,
468 stdout=subprocess.PIPE)
474 clang_format_stdin = subprocess.PIPE
478 if clang_format_stdin == subprocess.PIPE:
592 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
[all …]
H A Dclang-format.py45 import subprocess
107 startupinfo = subprocess.STARTUPINFO()
108 startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
109 startupinfo.wShowWindow = subprocess.SW_HIDE
121 p = subprocess.Popen(command,
122 stdout=subprocess.PIPE, stderr=subprocess.PIPE,
123 stdin=subprocess.PIPE, startupinfo=startupinfo)
H A Dclang-format-sublime.py18 import subprocess
47 p = subprocess.Popen(command, stdout=subprocess.PIPE,
48 stderr=subprocess.PIPE, stdin=subprocess.PIPE)
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dlit.local.cfg.py1 import subprocess
14 ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE)
24 clang_cmd = subprocess.Popen(" ".join([config.clang, '-fuse-ld=gold', '-xc', '-']),
27 stdin = subprocess.PIPE,
28 stdout = subprocess.PIPE,
29 stderr = subprocess.PIPE)
/llvm-project-15.0.7/bolt/utils/
H A Dnfc-check-setup.py6 import subprocess
13 ref = subprocess.run(shlex.split(cmd_ref), cwd=dir, text=True,
14 stdout=subprocess.PIPE)
18 return subprocess.check_output(shlex.split(cmd_rev), cwd=dir,
46 subprocess.run(shlex.split("cmake --build . --target llvm-bolt"),
54 subprocess.run(shlex.split("git stash"), cwd=source_dir)
56 subprocess.run(shlex.split("git checkout -f HEAD^"), cwd=source_dir)
60 subprocess.run(shlex.split("cmake --build . --target llvm-bolt"),
65 ini = subprocess.check_output(
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/test_runner/
H A Dprocess_control.py18 import subprocess
302 process = subprocess.Popen(
304 stdin=subprocess.PIPE,
305 stdout=subprocess.PIPE,
306 stderr=subprocess.PIPE,
441 return subprocess.Popen(
443 stdin=subprocess.PIPE,
444 stdout=subprocess.PIPE,
726 subprocess.Popen.original_init = subprocess.Popen.__init__
729 subprocess.Popen.original_wait = subprocess.Popen.wait
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/ios_commands/
H A Diossim_run.py3 import glob, os, pipes, sys, subprocess
26 atos_path = subprocess.run(find_atos_cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE, c…
50 exitcode = subprocess.call(rm_cmd_line_str, shell=True)
64 exitcode = subprocess.call(cmd)
/llvm-project-15.0.7/clang/utils/check_cfc/
H A Dobj_diff.py9 import subprocess
21 p = subprocess.Popen([disassembler, '-d', objfile],
22 stdout=subprocess.PIPE,
23 stderr=subprocess.PIPE)
32 …p = subprocess.Popen([disassembler, '-WliaprmfsoRt', objfile], stdout=subprocess.PIPE, stderr=subp…
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/runInTerminal/
H A DTestVSCode_runInTerminal.py14 import subprocess
103 proc = subprocess.run([self.lldbVSCodeExec, "--launch-target", "INVALIDPROGRAM"],
117 proc = subprocess.Popen(
119 universal_newlines=True, stderr=subprocess.PIPE)
137 proc = subprocess.Popen(
139 universal_newlines=True, stdout=subprocess.PIPE)
156 proc = subprocess.Popen(
158 universal_newlines=True, stdout=subprocess.PIPE,
176 proc = subprocess.Popen(
178 universal_newlines=True, stderr=subprocess.PIPE,
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/attach/
H A DTestVSCode_attach.py14 import subprocess
23 process = subprocess.Popen([program],
24 stdin=subprocess.PIPE,
25 stdout=subprocess.PIPE,
26 stderr=subprocess.PIPE)
53 self.process = subprocess.Popen([program],
54 stdin=subprocess.PIPE,
55 stdout=subprocess.PIPE,
56 stderr=subprocess.PIPE)
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A Dutil.py10 import subprocess
340 err_out = subprocess.STDOUT if redirect_stderr else subprocess.PIPE
341 p = subprocess.Popen(command, cwd=cwd,
342 stdin=subprocess.PIPE,
343 stdout=subprocess.PIPE,
400 cmd = subprocess.Popen(['xcrun', '--show-sdk-path', '--sdk', 'macosx'],
401 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
416 cmd = subprocess.Popen(['xcrun', '--show-sdk-version', '--sdk', 'macosx'],
417 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
457 subprocess.call('kill -kill $(ps -o pid= -L{})'.format(pid), shell=True)
/llvm-project-15.0.7/llvm/test/tools/llvm-reduce/
H A Dremove-bbs-sequence.py1 import subprocess
4 opt = subprocess.run( [ 'opt', '-passes=print<loops>','-disable-output', sys.argv[1]], stdout=subpr…
/llvm-project-15.0.7/llvm/test/Other/
H A Dopt-bisect-helper.py8 import subprocess
31 opt_result = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
32 filecheck_result = subprocess.Popen(check_command, stdin=opt_result.stdout)
/llvm-project-15.0.7/compiler-rt/test/
H A Dlit.common.cfg.py9 import subprocess
41 result = subprocess.run(
43 stdout=subprocess.PIPE,
44 stderr=subprocess.PIPE,
48 except subprocess.CalledProcessError as e:
312 except subprocess.CalledProcessError as e:
408 except subprocess.CalledProcessError:
485 except (subprocess.CalledProcessError, OSError):
544 ld_cmd = subprocess.Popen([exe, '--help'], stdout=subprocess.PIPE, env={'LANG': 'C'})
592 llvm_config_cmd = subprocess.Popen(
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/test/remote-index/
H A Dpipeline_helper.py13 import subprocess
42 index_server_process = subprocess.Popen([
46 stderr=subprocess.PIPE)
71 index_server_monitor_process = subprocess.Popen([
73 ], stderr=subprocess.PIPE)
80 clangd_process = subprocess.Popen([
/llvm-project-15.0.7/libcxx/utils/libcxx/
H A Dutil.py14 import subprocess
88 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
94 raise subprocess.CalledProcessError(cmd=args,
199 p = subprocess.Popen(command, cwd=cwd,
200 stdin=subprocess.PIPE,
201 stdout=subprocess.PIPE,
202 stderr=subprocess.PIPE,
254 subprocess.call('kill -kill $(ps -o pid= -L{})'.format(pid), shell=True)
/llvm-project-15.0.7/libcxx/utils/
H A Dssh.py21 import subprocess
57 …tmp = subprocess.check_output(ssh(args, 'mktemp -d {}/libcxx.XXXXXXXXXX'.format(args.tempdir)), un…
73subprocess.check_call(['xcrun', 'codesign', '-f', '-s', args.codesign_identity, exe], env={})
86 subprocess.check_call(scp(args, tmpTar.name, remoteTarball))
113 remoteCommands.append(subprocess.list2cmdline(commandLine))
116 rc = subprocess.call(ssh(args, ' && '.join(remoteCommands)))
121 subprocess.check_call(ssh(args, 'rm -r {}'.format(tmp)))

12345678910