Description[Android] Do not overwrite command when using the run_pie wrapper.
Some change starting in M41 has started causing an existing bug in
GetAndroidToolsStatusAndOutput() to fail in ICS devices. When the
run_pie wrapper needs to be used, the call to `adb push' ends up
overwriting the original command that was going to be run on the device,
and the instrumentation tests fail like this:
> LD_LIBRARY_PATH=/data/local/tmp/forwarder/ /data/local/tmp/run_pie push /path/in/host/out/Release/run_pie /data/local/tmp/run_pie; echo %$?
[...]
[PIE Loader] dlopen() failed: Cannot load library: load_library[1095]: Library 'push' not found.
Fix it by using a different variable name for the `adb push' command
that must be run on the host.
BUG=373219
R=primiano@chromium.org, torne@chromium.org
Committed: https://crrev.com/2dca4da271cbab6f53832d98cc79a874a4e4244c
Cr-Commit-Position: refs/heads/master@{#316233}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|