xref: /aosp_15_r20/bionic/libc/malloc_debug/tests/AndroidTest.xml (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*8d67ca89SAndroid Build Coastguard Worker<!-- Copyright (C) 2023 The Android Open Source Project
3*8d67ca89SAndroid Build Coastguard Worker
4*8d67ca89SAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*8d67ca89SAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*8d67ca89SAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*8d67ca89SAndroid Build Coastguard Worker
8*8d67ca89SAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*8d67ca89SAndroid Build Coastguard Worker
10*8d67ca89SAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*8d67ca89SAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*8d67ca89SAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*8d67ca89SAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*8d67ca89SAndroid Build Coastguard Worker     limitations under the License.
15*8d67ca89SAndroid Build Coastguard Worker-->
16*8d67ca89SAndroid Build Coastguard Worker<configuration description="Runs malloc_debug_system_tests.">
17*8d67ca89SAndroid Build Coastguard Worker    <option name="test-suite-tag" value="apct" />
18*8d67ca89SAndroid Build Coastguard Worker    <option name="test-suite-tag" value="apct-native" />
19*8d67ca89SAndroid Build Coastguard Worker
20*8d67ca89SAndroid Build Coastguard Worker    <!-- cannot be autogenerated: b/153565474 -->
21*8d67ca89SAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.RebootTargetPreparer">
22*8d67ca89SAndroid Build Coastguard Worker        <!-- flake mitigation, in case device is in bad state-->
23*8d67ca89SAndroid Build Coastguard Worker        <option name="pre-reboot" value="true" />
24*8d67ca89SAndroid Build Coastguard Worker        <!-- This test can become flaky if there are lots of other tests
25*8d67ca89SAndroid Build Coastguard Worker          running at the same time so do this to attempt to run this test
26*8d67ca89SAndroid Build Coastguard Worker          as isolated as possible.
27*8d67ca89SAndroid Build Coastguard Worker          tests. -->
28*8d67ca89SAndroid Build Coastguard Worker        <option name="post-reboot" value="true" />
29*8d67ca89SAndroid Build Coastguard Worker    </target_preparer>
30*8d67ca89SAndroid Build Coastguard Worker
31*8d67ca89SAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
32*8d67ca89SAndroid Build Coastguard Worker
33*8d67ca89SAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
34*8d67ca89SAndroid Build Coastguard Worker        <option name="cleanup" value="true" />
35*8d67ca89SAndroid Build Coastguard Worker        <option name="push" value="malloc_debug_system_tests->/data/local/tests/unrestricted/malloc_debug_system_tests" />
36*8d67ca89SAndroid Build Coastguard Worker    </target_preparer>
37*8d67ca89SAndroid Build Coastguard Worker
38*8d67ca89SAndroid Build Coastguard Worker    <test class="com.android.tradefed.testtype.GTest" >
39*8d67ca89SAndroid Build Coastguard Worker        <option name="native-test-device-path" value="/data/local/tests/unrestricted/" />
40*8d67ca89SAndroid Build Coastguard Worker        <option name="module-name" value="malloc_debug_system_tests" />
41*8d67ca89SAndroid Build Coastguard Worker    </test>
42*8d67ca89SAndroid Build Coastguard Worker</configuration>
43