| /openbmc/openbmc/poky/documentation/ |
| H A D | set_versions.py | 14 import subprocess 104 …subprocess.run(["git", "show", "yocto-%s" % release_series[activereleases[0]]], stdout=subprocess.… 105 except subprocess.CalledProcessError: 109 tags = subprocess.run(["git", "tag", "--points-at", "HEAD"], stdout=subprocess.PIPE, stderr=subproc… 127 …branch = subprocess.run(["git", "branch", "--show-current"], stdout=subprocess.PIPE, stderr=subpro… 135 …result = subprocess.run(["git", "log", "--format=oneline", "HEAD..origin/" + b], stdout=subproces… 158 …previoustags = subprocess.run(["git", "tag", "--merged", "HEAD"], stdout=subprocess.PIPE, stderr=s… 160 …futuretags = subprocess.run(["git", "tag", "--merged", ourbranch], stdout=subprocess.PIPE, stderr=… 175 latestreltag = subprocess.run(["git", "describe", "--abbrev=0", "--tags", "--match", "yocto-*"], ca… 245 …nch_versions = subprocess.run('git tag --list yocto-%s*' % (release_series[branch]), shell=True, s… [all …]
|
| /openbmc/qemu/scripts/performance/ |
| H A D | topN_perf.py | 36 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 …]
|
| H A D | topN_callgrind.py | 36 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)
|
| H A D | dissect.py | 35 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)
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | oe-setup-layers | 20 import subprocess 24 …curr_toplevel = subprocess.check_output("git -C %s rev-parse --show-toplevel" % repodir, shell=Tru… 27 except subprocess.CalledProcessError: 33 …curr_rev = subprocess.check_output("git -C %s rev-parse HEAD" % repodir, shell=True, stderr=subpro… 36 except subprocess.CalledProcessError: 42 …curr_uri = subprocess.check_output("git -C %s remote get-url %s" % (repodir, remote), shell=True, … 45 except subprocess.CalledProcessError: 89 subprocess.check_output(cmd, shell=True) 95 subprocess.check_output(cmd, shell=True, cwd=repodir) 99 subprocess.check_output(cmd, shell=True, cwd=repodir) [all …]
|
| H A D | yocto_testresults_query.py | 16 import subprocess 29 subprocess.check_call(["git", "clone", testresults_default_url, workdir, "--depth", "1"]) 34 …rev = subprocess.check_output(["git", "rev-list", "-n", "1", revision], cwd=pokydir).decode('utf-8… 37 except subprocess.CalledProcessError: 48 …rawtags = subprocess.check_output(["git", "ls-remote", "--refs", "--tags", "origin", f"*{sha1}*"],… 56 … subprocess.check_call(["git", "fetch", "--depth", "1", "origin", f"{rev}:{rev}"], cwd=workdir) 64 report = subprocess.check_output(command).decode("utf-8") 87 subprocess.check_call(["rm", "-rf", workdir]) 95 subprocess.check_call(["rm", "-rf", workdir])
|
| /openbmc/qemu/.gitlab-ci.d/ |
| H A D | check-patch.py | 12 import subprocess 26 subprocess.check_call(["git", "remote", "add", "check-patch", repourl]) 27 subprocess.check_call(["git", "fetch", "--refetch", "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 + "..."])
|
| H A D | check-dco.py | 12 import subprocess 23 subprocess.check_call(["git", "remote", "add", "check-dco", repourl]) 24 subprocess.check_call(["git", "fetch", "--refetch", "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],
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 277 | 23 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:
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | gpg_sign.py | 12 import subprocess 40 subprocess.check_output(cmd, stderr=subprocess.STDOUT) 62 …subprocess.check_output(shlex.split(cmd + ' '.join(files[i:i+sign_chunk])), stderr=subprocess.STDO… 99 job = subprocess.Popen(cmd, stdin=subprocess.PIPE, stderr=subprocess.PIPE) 119 ver_str = subprocess.check_output(cmd).split()[2].decode("utf-8") 121 except subprocess.CalledProcessError as e: 132 status = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl/ |
| H A D | 0001-support-cross-complication.patch | 37 - subprocess.call(['gcc','-v'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) 42 -sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PI… 48 -sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PI…
|
| /openbmc/openbmc/poky/bitbake/contrib/ |
| H A D | b4-wrapper-bitbake.py | 16 import subprocess 25 if subprocess.call(["which", "lsdiff"], stdout=subprocess.DEVNULL) != 0: 29 files = subprocess.check_output(["lsdiff", "--strip-match=1", "--strip=1", "--include=doc/*"], 35 files = subprocess.check_output(["lsdiff", "--include=doc/*"],
|
| /openbmc/qemu/tests/vm/ |
| H A D | aarch64vm.py | 15 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)
|
| /openbmc/u-boot/scripts/ |
| H A D | mailmapper | 51 import subprocess 58 toplevel = subprocess.check_output(['git', 'rev-parse', '--show-toplevel']) 59 except subprocess.CalledProcessError: 71 shortlog = subprocess.check_output(['git', 'shortlog', '-s', '-n']) 84 shortlog = subprocess.check_output(['git', 'shortlog', '-s', '-n', '-e']) 118 config_mailmap = subprocess.check_output(['git', 'config', 'mailmap.file']) 119 except subprocess.CalledProcessError:
|
| /openbmc/qemu/scripts/simplebench/ |
| H A D | bench_prealloc.py | 24 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)
|
| /openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
| H A D | metadata.py | 66 import subprocess 68 …info['branch'] = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], cwd=path).d… 69 except subprocess.CalledProcessError: 72 …info['commit'] = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=path).decode('utf-8').s… 73 except subprocess.CalledProcessError: 76 …info['commit_count'] = int(subprocess.check_output(["git", "rev-list", "--count", "HEAD"], cwd=pat… 77 except subprocess.CalledProcessError: 80 …info['commit_time'] = int(subprocess.check_output(["git", "show", "--no-patch", "--format=%ct", "H… 81 except subprocess.CalledProcessError:
|
| /openbmc/openbmc-test-automation/ffdc/plugins/ |
| H A D | shell_execution.py | 3 import subprocess 27 result = subprocess.run( 29 stdout=subprocess.PIPE, 30 stderr=subprocess.PIPE,
|
| /openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/ |
| H A D | kmod.py | 8 import subprocess 34 subprocess.check_output(["git", "clone", git_url, sourcedir], stderr=subprocess.STDOUT) 36 … subprocess.check_output(["git", "-C", sourcedir, "checkout", git_sha], stderr=subprocess.STDOUT)
|
| /openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
| H A D | gcc-source.inc | 32 import subprocess 34 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 36 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 41 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
|
| /openbmc/openbmc-build-scripts/scripts/ |
| H A D | get_unit_test_report.py | 34 import subprocess 178 output = subprocess.check_output( 182 stderr=subprocess.STDOUT, 185 except subprocess.CalledProcessError as e: 282 subprocess.check_output( 286 stderr=subprocess.STDOUT, 288 except subprocess.CalledProcessError as e: 302 result = subprocess.check_output( 306 stderr=subprocess.STDOUT, 311 except subprocess.CalledProcessError as e: [all …]
|
| /openbmc/qemu/scripts/ |
| H A D | undefsym.py | 12 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)
|
| /openbmc/openbmc/poky/meta/recipes-devtools/clang/ |
| H A D | llvm-project-source.inc | 41 import subprocess 65 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 67 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 88 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 90 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 92 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 94 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
|
| /openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
| H A D | common_deb_ipk.py | 9 import subprocess 36 proc = subprocess.run(cmd, capture_output=True, encoding="utf-8", shell=True) 70 output = subprocess.check_output(cmd, stderr=subprocess.STDOUT) 78 output = subprocess.check_output(cmd, stderr=subprocess.STDOUT) 79 except subprocess.CalledProcessError as e:
|
| /openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
| H A D | x32lib.py | 11 import subprocess 22 status1 = subprocess.call(cmd, shell=True) 24 status2 = subprocess.call(cmd, shell=True) 26 subprocess.check_output("readelf -h {}".format(dest), shell=True).decode()))
|
| /openbmc/openbmc/poky/meta/lib/oeqa/sdkext/cases/ |
| H A D | devtool.py | 9 import subprocess 23 subprocess.check_output(['git', 'init', '.'], cwd=cls.myapp_dst) 24 subprocess.check_output(['git', 'add', '.'], cwd=cls.myapp_dst) 25 subprocess.check_output(['git', 'commit', '-m', "'test commit'"], cwd=cls.myapp_dst) 30 subprocess.check_output(['git', 'init', '.'], cwd=cls.myapp_cmake_dst) 31 subprocess.check_output(['git', 'add', '.'], cwd=cls.myapp_cmake_dst) 32 subprocess.check_output(['git', 'commit', '-m', "'test commit'"], cwd=cls.myapp_cmake_dst) 112 subprocess.check_output(cmd, shell=True)
|