summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml
diff options
context:
space:
mode:
author Alan Stokes <alanstokes@google.com> 2023-06-07 10:48:45 +0100
committer Alan Stokes <alanstokes@google.com> 2023-06-07 10:48:45 +0100
commit2f8ca4afb39395458ed806200db7f1b1ba83cbe0 (patch)
treedf7e358ade57305116642e4c88600863bb4175e4 /tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml
parentf707968b3a21d8afe25664922877ee9d65c7dc50 (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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml')
-rw-r--r--tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml3
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"/>