summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Shi <dshi@google.com>2020-08-14 16:40:30 +0000
committerDan Shi <dshi@google.com>2020-08-14 17:06:07 +0000
commit1f0f933d84095fbfb1a426be49fa0b0ec111c28e (patch)
treec4b619abb21d953de8101a018790f35f63a4e9a5
parentab7f1401a70d4b65590afcb35f45be8d58d7393d (diff)
downloadplatform_test_vts-testcase_kernel-android11-tests-dev.tar.gz
platform_test_vts-testcase_kernel-android11-tests-dev.tar.bz2
platform_test_vts-testcase_kernel-android11-tests-dev.zip
Increase test timeout to 10 min for vts_kernel_checkpoint_testandroid11-tests-releaseandroid11-tests-dev
Bug: 163103130 Test: m vts_kernel_checkpoint_test Change-Id: Ic54fa35535fc584478dc1f439880ae4df738e550 Merged-In: Ic54fa35535fc584478dc1f439880ae4df738e550 (cherry picked from commit f43b10f39ab18398169ae4b8a4b534f53cf8dab7)
-rw-r--r--checkpoint/Android.bp2
-rw-r--r--checkpoint/vts_kernel_checkpoint_test.xml21
2 files changed, 22 insertions, 1 deletions
diff --git a/checkpoint/Android.bp b/checkpoint/Android.bp
index c24ad1c1..509ae8d1 100644
--- a/checkpoint/Android.bp
+++ b/checkpoint/Android.bp
@@ -32,7 +32,7 @@ python_test_host {
test_suites: [
"vts",
],
- auto_gen_config: true,
+ test_config: "vts_kernel_checkpoint_test.xml",
version: {
py2: {
enabled: false,
diff --git a/checkpoint/vts_kernel_checkpoint_test.xml b/checkpoint/vts_kernel_checkpoint_test.xml
new file mode 100644
index 00000000..55831c13
--- /dev/null
+++ b/checkpoint/vts_kernel_checkpoint_test.xml
@@ -0,0 +1,21 @@
+<?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 to run vts_kernel_checkpoint_test unittests">
+ <test class="com.android.tradefed.testtype.python.PythonBinaryHostTest" >
+ <option name="par-file-name" value="vts_kernel_checkpoint_test" />
+ <option name="test-timeout" value="10m" />
+ </test>
+</configuration>