diff options
author | Dan Albert <danalbert@google.com> | 2020-03-09 16:42:51 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2020-03-09 16:42:51 -0700 |
commit | 17caf7223ae326b4f3ee7fcacf6a011be8445e48 (patch) | |
tree | f7a15779bffcbb024aabd3d3f62be55eeafe4901 | |
parent | db669320a80553c85a1e7f860f158a21ae53d02b (diff) | |
download | binutils-17caf7223ae326b4f3ee7fcacf6a011be8445e48.tar.gz |
Copy logs to dist directory even on success.
Hard to figure out what's failing when we don't know what success
looks like...
Test: None
Bug: None
Change-Id: I567eda8750ee2ff4059fe00f927718158672e3ce
-rwxr-xr-x | do_build.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/do_build.py b/do_build.py index 1067c99c..3490ba49 100755 --- a/do_build.py +++ b/do_build.py @@ -274,10 +274,8 @@ def main(): install_timer = ndk.timer.Timer() with install_timer: install(args.jobs, args.arch, args.host, install_dir) - except subprocess.CalledProcessError: - copy_logs_to_dist_dir(Path(build_dir), Path(dist_dir) / 'logs') - raise finally: + copy_logs_to_dist_dir(Path(build_dir), Path(dist_dir) / 'logs') chdir(orig_dir) package_timer = ndk.timer.Timer() |