diff options
| author | Dan Shi <dshi@google.com> | 2017-03-31 17:18:16 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2017-03-31 17:18:16 +0000 |
| commit | 77b41c02f39b043d10f062d399d727aa26199782 (patch) | |
| tree | 839b51b6ba128cbea96a2775a742f0eaec38097e | |
| parent | 5e5df0f349441e6357f50327c939ef3e0650caf1 (diff) | |
| parent | 4e7b9cfb897c6153f995da580ad240cbd87e8e5b (diff) | |
| download | platform_libnativehelper-oreo-dr1-release.tar.gz platform_libnativehelper-oreo-dr1-release.tar.bz2 platform_libnativehelper-oreo-dr1-release.zip | |
Merge "Add test config to JniInvocation_test" am: 7e7c5b9a8b am: d0865381b9 am: d1c6bf341bandroid-8.0.0_r34android-8.0.0_r33android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21oreo-dr3-releaseoreo-dr2-releaseoreo-dr1-releaseoreo-dr1-dev
am: 4e7b9cfb89
Change-Id: I6be1ad92f1c977547d4372efd9f41ad519856960
| -rw-r--r-- | tests/Android.bp | 1 | ||||
| -rw-r--r-- | tests/AndroidTest.xml | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/Android.bp b/tests/Android.bp index b4d928b..523b419 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -2,6 +2,7 @@ cc_test { name: "JniInvocation_test", + test_suites: ["device-tests"], host_supported: true, clang: true, srcs: ["JniInvocation_test.cpp"], diff --git a/tests/AndroidTest.xml b/tests/AndroidTest.xml new file mode 100644 index 0000000..0f377f2 --- /dev/null +++ b/tests/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 JniInvocation_test"> + <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> + <option name="cleanup" value="true" /> + <option name="push" value="JniInvocation_test->/data/local/tmp/JniInvocation_test" /> + </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="JniInvocation_test" /> + </test> +</configuration>
\ No newline at end of file |
