commit | 900dbc92800d8fc927905db29cb302461054cf97 | [log] [tgz] |
---|---|---|
author | Tobias Bosch <tbosch@google.com> | Mon Jun 24 16:31:39 2019 |
committer | Tobias Bosch <tbosch@google.com> | Fri Jun 28 19:00:23 2019 |
tree | c74ecbfb01ee4ee679090139596aef3546f19d9b | |
parent | 739e6abb2cd03b60e579df31ad55870a4a00260a [diff] |
Introduce infrastructure for calling and testing nested commands, error messages and exit codes. Also: - implements the -Xclang-path= flag as use case of calling a nested command. - adds tests for forwarding errors, comparing against the old wrapper, and exit codes. - captures the source locations of errors in error messages. - compares exit codes of new wrapper and old wrapper. BUG=chromium:773875 TEST=unit test Change-Id: I919e58091d093d68939809f676f799a68ec7a34e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1676833 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Tobias Bosch <tbosch@google.com>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.