Add test config template for sh_test.

Verification of compatibility with existing sh_test targets is in progress.

Bug: 148805488
Bug: 151761373

Test: make
Test: unit tests
Test: verified test config auto-gen for bc-tests and toybox-tests
Change-Id: Id8ce5dd0723e8c95921e2e20bff72fc828d47d87
This commit is contained in:
frankfeng 2020-06-03 10:43:45 -07:00
parent 1c294551b4
commit 7e32b34ed3
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 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.
-->
<!-- This test config file is auto-generated. -->
<configuration description="Config for running {MODULE} through Atest or in Infra">
<option name="test-suite-tag" value="{MODULE}" />
{EXTRA_CONFIGS}
<!-- 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="{OUTPUT_FILENAME}" />
<!-- Test 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>