summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-03-31 17:07:35 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-31 17:07:36 +0000
commitd89f0cb87b4b0fa6eee82caeedac91fd73b02679 (patch)
tree7a728995609a041ac4cccff0e9f06f55e06de081
parentf8289b9e88cce172697e3baa2da9194f84772e04 (diff)
parent2e9d61ed2da50b833ca2bc1b7b619d7fa02b3180 (diff)
downloadextras-d89f0cb87b4b0fa6eee82caeedac91fd73b02679.tar.gz
Merge "Add test config to binderAddInts"
-rw-r--r--tests/binder/benchmarks/Android.mk1
-rw-r--r--tests/binder/benchmarks/AndroidTest.xml26
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/binder/benchmarks/Android.mk b/tests/binder/benchmarks/Android.mk
index fa7629c0..b43dd326 100644
--- a/tests/binder/benchmarks/Android.mk
+++ b/tests/binder/benchmarks/Android.mk
@@ -34,6 +34,7 @@ LOCAL_C_INCLUDES += \
frameworks/base/include
LOCAL_MODULE := binderAddInts
+LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_SRC_FILES := binderAddInts.cpp
include $(BUILD_NATIVE_BENCHMARK)
diff --git a/tests/binder/benchmarks/AndroidTest.xml b/tests/binder/benchmarks/AndroidTest.xml
new file mode 100644
index 00000000..9b044229
--- /dev/null
+++ b/tests/binder/benchmarks/AndroidTest.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2017 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 binderAddInts">
+ <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
+ <option name="cleanup" value="true" />
+ <option name="push" value="binderAddInts->/data/benchmarktest/binderAddInts" />
+ </target_preparer>
+ <option name="test-suite-tag" value="apct" />
+ <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" >
+ <option name="native-benchmark-device-path" value="/data/benchmarktest" />
+ <option name="benchmark-module-name" value="binderAddInts" />
+ </test>
+</configuration>