diff --git a/libcxx/utils/adb_run.py b/libcxx/utils/adb_run.py index b54198fed44a4..a2a9a3082d26e 100755 --- a/libcxx/utils/adb_run.py +++ b/libcxx/utils/adb_run.py @@ -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: diff --git a/llvm/utils/git/test1.cpp b/llvm/utils/git/test1.cpp new file mode 100644 index 0000000000000..ba6e2cd5a1b27 --- /dev/null +++ b/llvm/utils/git/test1.cpp @@ -0,0 +1 @@ +int main(int x) { return x + 1; }