Files
android_development/gki/script_test.xml
Isaac Chen 1531f41cff Create a test for GKI KMI compatibility
Use the kernel test modules to test GKIs for Android 12
- build 7833008 of Android 12 GKI 5.10	2021-10 release
- build 7855344 of Android 12 GKI 5.4	2021-10 release

Bug: 205495384
Test: Connect any arm64 Android 12 device running GKI 5.4 or 5.10
      $ atest kmi_comp_test
      ...
      Running Tests...
      arm64-v8a kmi_comp_test
      -----------------------
      kmi_comp_test (1 Test)
      [1/1] kmi_comp_test#kmi_comp_test: PASSED (169ms)
      Summary
      -------
      arm64-v8a kmi_comp_test: Passed: 1, Failed: 0, Ignored: 0, Assumption Failed: 0,
      All tests passed!
Change-Id: I7474cecf0ad701080b02ffb5193e4f0fe1d46c02
2021-11-08 12:18:28 +08:00

28 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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="Runs kmi_comp_test">
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
<option name="cleanup" value="true" />
<option name="push" value="run-script-test.sh->/data/local/tmp/run-script-test.sh" />
<option name="push" value="kmi_sym-a12-5.4-7855344.ko->/data/local/tmp/kmi_sym-a12-5.4.ko" />
<option name="push" value="kmi_sym-a12-5.10-7833008.ko->/data/local/tmp/kmi_sym-a12-5.10.ko" />
</target_preparer>
<test class="com.android.tradefed.testtype.binary.ExecutableTargetTest" >
<option name="test-command-line" key="kmi_comp_test" value="/data/local/tmp/run-script-test.sh" />
</test>
</configuration>