Skip to content

Both Python and C++ formatters fail initially... #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: formatter
Choose a base branch
from
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; }