summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-04-05 00:16:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-04-05 00:16:57 +0000
commita88b7b14ecc1d2c8c1a2d0919a9b8832f3aa4d9a (patch)
treea691ba86b45caea5dc14c2abef03a6e749b0eb74
parentc99398e65d299b6fd5705e2f8b5dd43e83396a7e (diff)
parentb5337b1fca34582cbb2e7ad7ae0ed894b32f303f (diff)
downloadextras-a88b7b14ecc1d2c8c1a2d0919a9b8832f3aa4d9a.tar.gz
Merge "Add test config to memory_replay_tests"
-rw-r--r--memory_replay/Android.mk1
-rw-r--r--memory_replay/AndroidTest.xml26
2 files changed, 27 insertions, 0 deletions
diff --git a/memory_replay/Android.mk b/memory_replay/Android.mk
index 7179d614..2b299ada 100644
--- a/memory_replay/Android.mk
+++ b/memory_replay/Android.mk
@@ -47,6 +47,7 @@ LOCAL_CFLAGS := -Wall -Wextra -Werror
LOCAL_C_INCLUDES := $(LOCAL_PATH)/tests
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE := memory_replay_tests
+LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_SHARED_LIBRARIES := libbase
diff --git a/memory_replay/AndroidTest.xml b/memory_replay/AndroidTest.xml
new file mode 100644
index 00000000..cf3879af
--- /dev/null
+++ b/memory_replay/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 memory_replay_tests">
+ <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
+ <option name="cleanup" value="true" />
+ <option name="push" value="memory_replay_tests->/data/local/tmp/memory_replay_tests" />
+ </target_preparer>
+ <option name="test-suite-tag" value="apct" />
+ <test class="com.android.tradefed.testtype.GTest" >
+ <option name="native-test-device-path" value="/data/local/tmp" />
+ <option name="module-name" value="memory_replay_tests" />
+ </test>
+</configuration>