diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-03-31 17:06:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-31 17:06:40 +0000 |
commit | 7e7c5b9a8b2343bbef01b82fe127736157eaf2a0 (patch) | |
tree | 0bfce112277fc4a810891b7a516a483be9cca62f | |
parent | 90c12683ee3e8f2089508d0030582e978035aea6 (diff) | |
parent | 8ffbd0d15024dca8631badef53ebd4fc49b8cdc4 (diff) | |
download | libnativehelper-7e7c5b9a8b2343bbef01b82fe127736157eaf2a0.tar.gz |
Merge "Add test config to JniInvocation_test"
-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 |