test runner wrapper scripts - add colored logcat command |
||
Issue descriptionWe have two main kinds of wrapper scripts: 1) android_apk --> apk_operations.py 2) instrumentation_test_apk --> test_runner.py apk_operations.py has one really nice command that I wish tests had: colored & filtered logcat. Logcat doesn't even make sense for test_runner.py in some cases, because it can run on multiple devices. However, it's pretty common for local development to run against a single device and want to see the logcat. I'd suggest we create a run_foo_test wrapper script command that delegates to apk_operations.py rather than test_runner.py so that you can do: "out/Debug/bin/run_chrome_public_test_apk logcat" and have this run: build/android/apk_operations.py logcat --package-name org.chromium.chrome.tests --proguard-mapping-path PATH Note: when there's an under_test apk, it's the under_test apk's package_name to use.
,
Jan 9
The idea here is that you'd run the test in one tab via: bin/run_foo_tests and then at the same time in another tab, run: bin/run_foo_tests logcat I don't love it though... It's quite obscure.
,
Jan 14
|
||
►
Sign in to add a comment |
||
Comment 1 by jbudorick@chromium.org
, Jan 7