ANDROID: Specify arch for kselftest test suites
Tradefed will run tests against all abis by default. The kselftest suite is built per architecture so it needs to only run when the abi matches the build. Bug: 310227391 Bug: 318413396 Change-Id: I55a7f5cea2b3970dea06cb0a2f68d6c9ed865887 Signed-off-by: Edward Liaw <edliaw@google.com>
This commit is contained in:
@@ -10,6 +10,10 @@ SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
|
||||
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
|
||||
<target_preparer class="com.android.tradefed.targetprep.StopServicesSetup" />
|
||||
|
||||
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.KernelTestModuleController" >
|
||||
<option name="arch" value="arm64"/>
|
||||
</object>
|
||||
|
||||
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
|
||||
<option name="cleanup" value="true" />
|
||||
<option name="push-file" key="selftests" value="/data/selftests" />
|
||||
|
||||
@@ -10,6 +10,10 @@ SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
|
||||
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
|
||||
<target_preparer class="com.android.tradefed.targetprep.StopServicesSetup" />
|
||||
|
||||
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.KernelTestModuleController" >
|
||||
<option name="arch" value="x86_64"/>
|
||||
</object>
|
||||
|
||||
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
|
||||
<option name="cleanup" value="true" />
|
||||
<option name="push-file" key="selftests" value="/data/selftests" />
|
||||
|
||||
Reference in New Issue
Block a user