diff options
author | Miao Wang <miaowang@google.com> | 2020-05-07 18:52:43 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-05-07 18:52:43 +0000 |
commit | 6a8e397336cb494c488951183cc2d591deb8fe13 (patch) | |
tree | 0ea1ebff8573e4cabc8f50fbf016267ced3d49ca /nn | |
parent | 9201992f678876c9a9475934ec6469992fbec18d (diff) | |
parent | a9c82e64b37a4b94856e86bc1dce21ffd917986f (diff) | |
download | ml-6a8e397336cb494c488951183cc2d591deb8fe13.tar.gz |
Merge "Add AndroidTest.xml for NeuralNetworksTest_static and blacklist failing tests" into rvc-dev
Diffstat (limited to 'nn')
-rw-r--r-- | nn/runtime/test/AndroidTest.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/nn/runtime/test/AndroidTest.xml b/nn/runtime/test/AndroidTest.xml new file mode 100644 index 000000000..2712e009c --- /dev/null +++ b/nn/runtime/test/AndroidTest.xml @@ -0,0 +1,37 @@ +<?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="Runs NeuralNetworksTest_static."> + <option name="test-suite-tag" value="apct" /> + <option name="test-suite-tag" value="apct-native" /> + + <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> + <option name="force-root" value="false" /> + </target_preparer> + + <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> + <option name="cleanup" value="true" /> + <option name="push" value="NeuralNetworksTest_static->/data/local/tmp/NeuralNetworksTest_static" /> + </target_preparer> + + <test class="com.android.tradefed.testtype.GTest" > + <!-- b/153876253, temporarily disable the failing tests. + Must be deleted after corresponding driver issues are fixed. + --> + <option name="native-test-flag" value="--gtest_filter=-*l2_normalization_axis_corner_case*" /> + <option name="native-test-device-path" value="/data/local/tmp" /> + <option name="module-name" value="NeuralNetworksTest_static" /> + </test> +</configuration> |