Home
last modified time | relevance | path

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

1234

/qemu/scripts/performance/
A DtopN_perf.py36 import subprocess
58 check_perf_presence = subprocess.run(["which", "perf"],
59 stdout=subprocess.DEVNULL)
64 check_perf_executability = subprocess.run(["perf", "stat", "ls", "/"],
65 stdout=subprocess.DEVNULL,
66 stderr=subprocess.DEVNULL)
92 perf_record = subprocess.run((["perf", "record", "--output=/tmp/perf.data"] +
94 stdout=subprocess.DEVNULL,
95 stderr=subprocess.PIPE)
102 perf_report = subprocess.run(
[all …]
A DtopN_callgrind.py36 import subprocess
58 check_valgrind_presence = subprocess.run(["which", "valgrind"],
59 stdout=subprocess.DEVNULL)
64 callgrind = subprocess.run((
67 stdout=subprocess.DEVNULL,
68 stderr=subprocess.PIPE)
74 callgrind_annotate = subprocess.run(["callgrind_annotate",
77 stderr=subprocess.PIPE)
A Ddissect.py35 import subprocess
78 check_valgrind = subprocess.run(
79 ["which", "valgrind"], stdout=subprocess.DEVNULL)
91 callgrind = subprocess.run((["valgrind",
95 stdout=subprocess.DEVNULL,
96 stderr=subprocess.PIPE)
102 callgrind_annotate = subprocess.run(
105 stderr=subprocess.PIPE)
/qemu/.gitlab-ci.d/
A Dcheck-patch.py12 import subprocess
26 subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
27 subprocess.check_call(["git", "fetch", "check-patch", "master"])
29 ancestor = subprocess.check_output(["git", "merge-base",
35 log = subprocess.check_output(["git", "log", "--format=%H %s",
39 subprocess.check_call(["git", "remote", "rm", "check-patch"])
49 ret = subprocess.run(["scripts/checkpatch.pl", "--terse", ancestor + "..."])
A Dcheck-dco.py12 import subprocess
23 subprocess.check_call(["git", "remote", "add", "check-dco", repourl])
24 subprocess.check_call(["git", "fetch", "check-dco", "master"])
26 ancestor = subprocess.check_output(["git", "merge-base",
32 subprocess.check_call(["git", "remote", "rm", "check-dco"])
39 log = subprocess.check_output(["git", "log", "--format=%H %s",
50 msg = subprocess.check_output(["git", "show", "-s", sha],
/qemu/tests/qemu-iotests/
A D27723 import subprocess
47 srv = subprocess.Popen(['./nbd-fault-injector.py', '--classic-negotiation',
48 nbd_sock, conf_file], stdout=subprocess.PIPE,
49 stderr=subprocess.STDOUT, universal_newlines=True)
65 clt = subprocess.Popen(args, stdout=subprocess.PIPE,
66 stderr=subprocess.STDOUT,
82 except subprocess.TimeoutExpired:
A D14924 import subprocess
98 proc = subprocess.Popen(args,
99 stdin=subprocess.PIPE,
100 stdout=subprocess.PIPE,
117 proc = subprocess.Popen(fullargs,
118 stdin=subprocess.PIPE,
119 stdout=subprocess.PIPE,
184 proc = subprocess.Popen(args,
185 stdin=subprocess.PIPE,
186 stdout=subprocess.PIPE,
[all …]
A Dlinters.py18 import subprocess
70 subprocess.run(
74 stdout=subprocess.PIPE if suppress_output else None,
75 stderr=subprocess.STDOUT if suppress_output else None,
A D20725 import subprocess
121 keys = subprocess.check_output(
132 md5_keys[key] = subprocess.check_output(
136 sha1_keys[key] = subprocess.check_output(
140 sha256_keys[key] = subprocess.check_output(
A D29720 import subprocess
38 except subprocess.CalledProcessError:
76 except subprocess.CalledProcessError as exc:
/qemu/tests/vm/
A Daarch64vm.py15 import subprocess
74 subprocess.check_call(["dd", "if=/dev/zero", "of={}".format(flash0_path),
76 stdout=fd_null, stderr=subprocess.STDOUT)
84 subprocess.check_call(["dd", "if={}".format(efi_img),
87 stdout=fd_null, stderr=subprocess.STDOUT)
88 subprocess.check_call(["dd", "if=/dev/zero",
91 stdout=fd_null, stderr=subprocess.STDOUT)
/qemu/scripts/simplebench/
A Dbench_prealloc.py24 import subprocess
33 p = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
53 subprocess.run([env['qemu-img-binary'], 'create', '-f', 'qcow2', fname,
54 '16G'], stdout=subprocess.DEVNULL,
55 stderr=subprocess.DEVNULL, check=True)
A Dbench_block_job.py24 import subprocess
86 out = subprocess.run(['qemu-img', 'info', '--out=json', path],
87 stdout=subprocess.PIPE, check=True).stdout
107 subprocess.run(['qemu-img', 'create', '-f', 'qcow2',
110 stdout=subprocess.DEVNULL,
111 stderr=subprocess.DEVNULL, check=True)
A Dimg_bench_templater.py23 import subprocess
35 p = subprocess.run(test, shell=True, stdout=subprocess.PIPE,
36 stderr=subprocess.STDOUT, universal_newlines=True)
A Dbench_write_req.py27 import subprocess
41 subp = subprocess.Popen(list(args),
42 stdout=subprocess.PIPE,
43 stderr=subprocess.STDOUT,
/qemu/scripts/
A Dundefsym.py12 import subprocess
34 pc = subprocess.run([nm, "-P", "-g", staticlib], stdout=subprocess.PIPE)
40 pc = subprocess.run([nm, "-P", "-g"] + shared_modules, stdout=subprocess.PIPE)
A Dnsis.py11 import subprocess
19 subprocess.run([cmd, path])
23 output = subprocess.check_output(["objdump", "-p", exe_or_dll], text=True)
59 subprocess.run(["make", "install", "DESTDIR=" + destdir])
122 subprocess.run(makensis)
A Dsymlink-install-tree.py8 import subprocess
18 out = subprocess.run([*shlex.split(introspect), '--installed'],
19 stdout=subprocess.PIPE, check=True).stdout
A Dmodinfo-collect.py8 import subprocess
56 result = subprocess.run(cmdline, stdout = subprocess.PIPE,
/qemu/scripts/ci/
A Dgitlab-pipeline-status21 import subprocess
38 result = subprocess.run(['git', 'rev-parse', branch],
39 stdin=subprocess.DEVNULL,
40 stdout=subprocess.PIPE,
41 stderr=subprocess.DEVNULL,
/qemu/tests/docker/
A Ddocker.py16 import subprocess
86 if subprocess.call(cmd + ["version"],
131 except subprocess.CalledProcessError:
242 return subprocess.call(self._command + cmd, **kwargs)
247 return subprocess.check_call(self._command + cmd, **kwargs)
276 return subprocess.check_output(self._command + cmd,
277 stderr=subprocess.STDOUT,
282 return subprocess.check_output(self._command + cmd,
283 stderr=subprocess.STDOUT,
290 except subprocess.CalledProcessError:
[all …]
/qemu/tests/guest-debug/
A Drun-test.py15 import subprocess
82 inferior = subprocess.Popen(shlex.split(cmd))
110 result = subprocess.call(gdb_cmd, shell=True, stdout=output, stderr=stderr,
123 except subprocess.TimeoutExpired:
/qemu/roms/
A Dedk2-build.py12 import subprocess
75 result = subprocess.run(cmdline, cwd = coredir,
76 stdout = subprocess.PIPE,
124 result = subprocess.run(cmdline, check = False,
125 stdout = subprocess.PIPE,
126 stderr = subprocess.STDOUT)
143 result = subprocess.run(cmdline, check = False)
176 subprocess.run(cmdline, check = True)
280 subprocess.run(cmdline, cwd = coredir, check = True)
/qemu/tests/functional/
A Dtest_virtio_gpu.py19 import subprocess
111 vugp = subprocess.Popen(
113 stdin=subprocess.DEVNULL,
115 stderr=subprocess.STDOUT,
/qemu/tests/functional/qemu_test/
A Dcmd.py17 import subprocess
69 subp = subprocess.Popen(args,
70 stdout=subprocess.PIPE,
71 stderr=subprocess.PIPE,

Completed in 34 milliseconds

1234