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

Commit e4668b63 authored by Alec Mouri's avatar Alec Mouri
Browse files

Disable SELinux for libcompositionengine_test

SELinux prevents stack traces from being reachable, and these tests
don't try to exercise SELinux anyways.

Bug: 307776985
Test: Trigger a crash libcompositionengine_test and see if a
symbolizable stack is tombstoned

Change-Id: I1f3789c52123776d843ff0b55b310d8795597819
parent f4d5f265
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2023 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<configuration description="Config for libcompositionengine_test">
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="push"
                value="libcompositionengine_test->/data/local/tmp/libcompositionengine_test" />
    </target_preparer>

    <!--
        Disable SELinux so that crashes in the test suite produces symbolized stack traces.
    -->
    <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer" />

    <option name="test-suite-tag" value="apct" />
    <test class="com.android.tradefed.testtype.GTest" >
        <option name="native-test-device-path" value="/data/local/tmp" />
        <option name="module-name" value="libcompositionengine_test" />
    </test>
</configuration>