Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a786f0a8 authored by Josh Gao's avatar Josh Gao
Browse files

adb: don't run all of the tests again over TCP in coverage.

They take forever, and we're only really interested in the transport
related code, so test that more directly.

Test: ./coverage/gen_coverage.sh
Change-Id: I47d3ad50db0f1020fe4b3da5cdfe455190d022b5
parent ad18395b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -85,8 +85,9 @@ sleep 5
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