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
This commit is contained in:
Julien Desprez 2019-03-19 16:19:43 -07:00
parent 60de348654
commit 61dea3d154
2 changed files with 31 additions and 0 deletions

View File

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

View File

@ -0,0 +1,23 @@
<?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>