summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Bill Peckham <bpeckham@google.com> 2019-02-21 18:53:37 -0800
committer Bill Peckham <bpeckham@google.com> 2019-02-21 19:02:07 -0800
commit889b0c6b090d4eb2179ff8579b08c2e42f6b32c6 (patch)
tree7c75bee4d424b7fc3bb3ca9bd25d59e2bc6f69bf /tools/warn/java_warn_patterns.py
parentf97ed91448930016f21f35d4ef23eb89a2377ee6 (diff)
Convert common.RunAndWait method to raise an exception on subprocess failure.
Then refactor the code in merge_target_files.py to adapt to this semantic change. This makes the code more consistent with existing releasetools code, and it's easier to follow. Test: Failure cases (verify exception), success cases (merged target generated) Bug: 124521133 Change-Id: I56f04e360d8ff8ffcd6245359cdeb79f4565a9c4
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions