diff options
author | 2023-06-07 10:48:45 +0100 | |
---|---|---|
committer | 2023-06-07 10:48:45 +0100 | |
commit | 2f8ca4afb39395458ed806200db7f1b1ba83cbe0 (patch) | |
tree | df7e358ade57305116642e4c88600863bb4175e4 | |
parent | f707968b3a21d8afe25664922877ee9d65c7dc50 (diff) |
Capture event log
This test, and the code it is testing, makes use of the event log -
looking for specific info in it, and writing to it.
Make sure we capture the event log during runs of the test so that we
have some chance of diagnosing falures.
Bug: 239817928
Test: N/A
Change-Id: I610c7ddd67381d04c35fd42343e21098c150beb5
-rw-r--r-- | tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml b/tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml index f8a1ec90a78a..0ab3dfe1ffee 100644 --- a/tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml +++ b/tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml @@ -22,6 +22,9 @@ <option name="test-suite-tag" value="apct"/> <option name="test-tag" value="DynamicCodeLoggerIntegrationTests"/> + <!-- This test make uses of the event log, make sure we capture it. --> + <option name="logcat-options" value="-b all" /> + <test class="com.android.tradefed.testtype.AndroidJUnitTest"> <option name="package" value="com.android.frameworks.dynamiccodeloggertest"/> <option name="runner" value="androidx.test.runner.AndroidJUnitRunner"/> |