MCPcopy Create free account
hub / github.com/apache/tvm / run_subprocess

Function run_subprocess

ci/scripts/github/github_skipped_tests_comment.py:28–33  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

26
27
28def run_subprocess(command):
29 logging.info(f"Running command {command}")
30 proc = subprocess.run(command, shell=True, stdout=subprocess.PIPE, encoding="utf-8")
31 if proc.returncode != 0:
32 raise RuntimeError(f"Command failed {command}:\nstdout:\n{proc.stdout}")
33 return proc
34
35
36def retrieve_test_report(s3_url, target_dir):

Callers 2

retrieve_test_reportFunction · 0.85
get_common_commit_shaFunction · 0.85

Calls 2

infoMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…