Update toybox-tests to use test config auto-gen
Bug: 148805488 Test: atest toybox-tests Change-Id: Iba904ee7cab67e65a7629c6babd1f52ce1f0fb39
This commit is contained in:
parent
2f6a212596
commit
ef80c62a6a
@ -534,7 +534,7 @@ sh_test {
|
||||
test_suites: ["general-tests"],
|
||||
host_supported: true,
|
||||
device_supported: false,
|
||||
test_config: "toybox-tests.xml",
|
||||
require_root:true,
|
||||
data: [
|
||||
"tests/**/*",
|
||||
"scripts/runtest.sh",
|
||||
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration description="Config for running toybox-tests through Atest or in Infra">
|
||||
<option name="test-suite-tag" value="toybox-tests" />
|
||||
<!-- Several of these tests assume they're run as root. -->
|
||||
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
|
||||
<!-- This test requires a device, so it's not annotated with a null-device. -->
|
||||
<test class="com.android.tradefed.testtype.binary.ExecutableHostTest" >
|
||||
<option name="binary" value="run-tests-on-android.sh" />
|
||||
<!-- Toybox tests script assumes a relative path with the tests/ folders. -->
|
||||
<option name="relative-path-execution" value="true" />
|
||||
<!-- Tests shouldn't be that long but set 15m to be safe. -->
|
||||
<option name="per-binary-timeout" value="15m" />
|
||||
</test>
|
||||
</configuration>
|
Loading…
Reference in New Issue
Block a user