diff options
author | Josh Gao <jmgao@google.com> | 2020-05-12 05:32:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-05-12 05:32:48 +0000 |
commit | a227c19ef2f81c4daeb4ede9f8609614e44d37ee (patch) | |
tree | 7cb12d99803d142176cb2299476688420a3648fb /adb/coverage/gen_coverage.sh | |
parent | 8987016b1eb96003cb895014004696a7cbd9b133 (diff) | |
parent | 9f3064f26fd971eb7e81b78d48aae6aeee7ca143 (diff) |
Merge changes Id8d9fa6c,I47d3ad50,I7cebbf75,Id10e320a
* changes:
adbd: avoid compiling more code in the daemon.
adb: don't run all of the tests again over TCP in coverage.
adbd: respect ADB_TRACE on host adbd.
adb: mark kMaxProcessNameLength as constexpr.
Diffstat (limited to 'adb/coverage/gen_coverage.sh')
-rwxr-xr-x | adb/coverage/gen_coverage.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/adb/coverage/gen_coverage.sh b/adb/coverage/gen_coverage.sh index 3a5d1d22b5..43d45f0d8e 100755 --- a/adb/coverage/gen_coverage.sh +++ b/adb/coverage/gen_coverage.sh @@ -89,8 +89,9 @@ adb -t $TRANSPORT_ID wait-for-disconnect adb connect $REMOTE adb -s $REMOTE wait-for-device -# Run test_device.py again. -ANDROID_SERIAL=$REMOTE "$OUTPUT_DIR"/../test_device.py +# Instead of running test_device.py again, which takes forever, do some I/O back and forth instead. +dd if=/dev/zero bs=1024 count=10240 | adb -s $REMOTE raw sink:10485760 +adb -s $REMOTE raw source:10485760 | dd of=/dev/null bs=1024 count=10240 # Dump traces again. adb disconnect $REMOTE |