summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsin-Yi Chen <hsinyichen@google.com>2020-02-25 15:49:53 +0800
committerHsin-Yi Chen <hsinyichen@google.com>2020-03-09 18:16:34 +0800
commite2e918fc67eb1984be7decce7115d871caddf13b (patch)
tree1bba06616e5cc14c8afe47e4e6700462b8075f94
parenta0805f0b0f5bffe959a9992b77c73dd79998025b (diff)
downloadvndk-e2e918fc67eb1984be7decce7115d871caddf13b.tar.gz
Add vts_vndk_dependency_test to vts-core
Bug: 147454897 Test: atest vts_vndk_dependency_test Change-Id: I07c3e5ad692ad4819433851dc7a932061f8b8935 Merged-In: I07c3e5ad692ad4819433851dc7a932061f8b8935 (cherry picked from commit 6addb03ef46bc2d8be2ab9fdc01093de755d674c)
-rw-r--r--Android.bp6
-rw-r--r--dependency/vts_vndk_dependency_test.xml23
2 files changed, 28 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 90cc368..9eae205 100644
--- a/Android.bp
+++ b/Android.bp
@@ -56,7 +56,11 @@ python_test_host {
main: "dependency/vts_vndk_dependency_test.py",
srcs: [
"dependency/vts_vndk_dependency_test.py",
- ]
+ ],
+ test_suites: [
+ "vts-core",
+ ],
+ test_config: "dependency/vts_vndk_dependency_test.xml",
}
python_test_host {
diff --git a/dependency/vts_vndk_dependency_test.xml b/dependency/vts_vndk_dependency_test.xml
new file mode 100644
index 0000000..f0f37c7
--- /dev/null
+++ b/dependency/vts_vndk_dependency_test.xml
@@ -0,0 +1,23 @@
+<?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.
+-->
+<configuration description="Config for vts_vndk_dependency_test">
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
+ <test class="com.android.tradefed.testtype.python.PythonBinaryHostTest">
+ <option name="par-file-name" value="vts_vndk_dependency_test" />
+ <option name="test-timeout" value="6m" />
+ </test>
+</configuration>
+