commit | d1f580a014e2f98c78eec2047f469fc1a7e63305 | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Wed May 29 11:20:21 2019 -0700 |
committer | Logan Chien <loganchien@google.com> | Wed May 29 11:22:35 2019 -0700 |
tree | b599ca8b67eec25fa6bde45cec81541d0d3e041b | |
parent | 6efcbbd3700462d9222913409e690f6b4a8903d2 [diff] |
def-tool: Skip dex test if smali cannot be found This commit skips dex test cases if the `smali` command cannot be found from the path. Before this commit, the test was not skipped because the `subprocess.checked_call()` throws `OSError` (instead of `IOError`) in Python 2. Test: ./tests/run.sh Change-Id: Ic7ec11ab9d9de2294132d88a2b084ef11dd01c87