diff options
author | 2017-02-20 10:16:41 +0000 | |
---|---|---|
committer | 2017-02-20 11:33:52 +0000 | |
commit | 0145a3b81bb7077ac4a2daffedf4bf9d115df189 (patch) | |
tree | 47f11a7d3d3ad90fec9d66ddb7d7936bbce4543c /src/main/java/com/google/devtools/build/lib/exec/BlazeExecutor.java | |
parent | 6830f4dcbd10ce2722be17aec5fcb455cb602494 (diff) |
Rollback of commit 1cb5059396e46d9ff2c317b8a0a046af32b3a1d8.
*** Reason for rollback ***
Breaks TEST_BINARY env setting if --run_under is used.
*** Original change description ***
Rewrite TestStrategy.getArgs
This changes command-line computation for tests:
- run the coverage collector before the run_under command
- no shell escaping: if all tools just call "$@", then this should work
Note that we still wrap the command in a sub-shell to support shell built-ins
and PATH lookup if the command does not contain a slash character '/'.
A side effect of this change is that the --run_under command now executes in
the test's runfiles directory, rather than in the exec root, if...
***
--
PiperOrigin-RevId: 148003525
MOS_MIGRATED_REVID=148003525
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/exec/BlazeExecutor.java')
0 files changed, 0 insertions, 0 deletions