Skip to content

Commit

Permalink
Stream subprocess stdout
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
H-Huang committed Jan 9, 2025
1 parent 90567fc commit 4e008c4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,7 @@ def build_test_list():


def _run_cmd(cmd):
return subprocess.run(
[cmd],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
shell=True,
)
return subprocess.run([cmd], text=True, shell=True)


def run_test(test_flavor: OverrideDefinitions, full_path: str, output_dir: str):
Expand Down

0 comments on commit 4e008c4

Please sign in to comment.