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

Commit 61dea3d1 authored by Julien Desprez's avatar Julien Desprez
Browse files

Add the basic config to run through atest

Add basic config that can run through atest the remount
script.
Very first step before being able to run in infra.

Test: atest adb-remount-sh
Bug: 117670584
Change-Id: I399f79fb7d7cd1b8a832be23efb3b625be693f7e
parent 60de3486
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -52,6 +52,14 @@ cc_prebuilt_binary {
    host_supported: true,
}

sh_test {
    name: "adb-remount-sh",
    src: "adb-remount-test.sh",
    filename: "adb-remount-test.sh",
    test_suites: ["general-tests"],
    test_config: "adb-remount-sh.xml",
}

java_test_host {
    name: "fs_mgr_vendor_overlay_test",

+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 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.
-->
<configuration description="Config for adb remount test cases">
    <option name="test-suite-tag" value="adb-remount" />
    <!-- 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="adb-remount-test.sh" />
    </test>
</configuration>