Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e32b34e authored by frankfeng's avatar frankfeng
Browse files

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
parent 1c294551
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
<?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>
 No newline at end of file