summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AndroidTest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/AndroidTest.xml b/AndroidTest.xml
index 0e08e46..5233b0d 100644
--- a/AndroidTest.xml
+++ b/AndroidTest.xml
@@ -26,6 +26,13 @@
<option name="push" value="libchrome-gestures_test->/data/local/tmp/libchrome-gestures_test" />
</target_preparer>
+ <!--
+ Because we push the test binary into /data/local/tmp, SELinux prevents
+ it from being read to produce symbolized stack traces when crashes
+ occur, so disable SELinux for these tests.
+ -->
+ <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer" />
+
<test class="com.android.tradefed.testtype.GTest" >
<option name="native-test-device-path" value="/data/local/tmp" />
<option name="module-name" value="libchrome-gestures_test" />