Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions libcxx/utils/adb_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ def run_adb_sync_command(command: List[str]) -> None:
# on failure, it should be shown. Print it to stderr because it's
# unrelated to the test program's stdout output. A common error caught
# here is "No space left on device".
sys.stderr.write(f"{proc.stdout}\n"
f"error: adb command exited with {proc.returncode}: "
f"{shlex.join(command)}\n")
sys.exit(proc.returncode)
sys.stderr.write(
f"{proc.stdout}\n"
f"error: adb command exited with {proc.returncode}: "
f"{shlex.join(command)}\n"
)

sys.exit(proc.returncode + 23)


def sync_test_dir(local_dir: str, remote_dir: str) -> None:
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/git/test1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
int main(int x) { return x + 1; }