Update toybox-tests to use test config auto-gen

Bug: 148805488
Test: atest toybox-tests

Change-Id: Iba904ee7cab67e65a7629c6babd1f52ce1f0fb39
This commit is contained in:
frankfeng 2020-07-22 11:06:21 -07:00 committed by Frank Feng
parent 2f6a212596
commit ef80c62a6a
2 changed files with 1 additions and 15 deletions

View File

@ -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",

View File

@ -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>