blob: 78452e1cb7ec4379fbeae5bc7a3ea273b32d4c7f [file] [log] [blame]
Mark Salyzyn67522d02016-02-11 14:20:24 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<configuration description="Config for CTS Kernel Config test cases">
jdesprez189941e2017-12-16 04:03:07 -080017 <option name="test-suite-tag" value="cts" />
Guang Zhu4313a5d2017-06-05 14:40:21 -070018 <option name="config-descriptor:metadata" key="component" value="systems" />
Mark Salyzyn6b017c02019-02-04 12:45:58 -080019 <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
20 <option name="config-descriptor:metadata" key="parameter" value="multi_abi" />
jovanakbaeb89c2020-01-13 16:32:28 -080021 <option name="config-descriptor:metadata" key="parameter" value="not_secondary_user" />
Mark Salyzyn67522d02016-02-11 14:20:24 -080022 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
23 <option name="cleanup" value="true" />
24 <option name="push" value="CtsKernelConfigTestCases->/data/local/tmp/CtsKernelConfigTestCases" />
25 <option name="append-bitness" value="true" />
26 </target_preparer>
Julien Desprez9b5959e2021-10-01 17:39:27 -070027 <!-- Make sure there is some data in the pstore then reboot -->
28 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
Keith Mok745b67e2022-04-13 04:00:41 +000029 <option name="run-command" value="if [ -e /dev/pmsg0 ] ; then echo HELLOWORLD > /dev/pmsg0; fi" />
Julien Desprez9b5959e2021-10-01 17:39:27 -070030 <option name="throw-if-cmd-fail" value="true" />
31 </target_preparer>
32 <target_preparer class="com.android.tradefed.targetprep.RebootTargetPreparer" />
Mark Salyzyn67522d02016-02-11 14:20:24 -080033 <test class="com.android.tradefed.testtype.GTest" >
34 <option name="native-test-device-path" value="/data/local/tmp" />
35 <option name="module-name" value="CtsKernelConfigTestCases" />
Mark Salyzyn67522d02016-02-11 14:20:24 -080036 </test>
37</configuration>