diff options
author | Miao Wang <miaowang@google.com> | 2020-05-07 08:32:47 -0700 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2020-05-07 08:32:47 -0700 |
commit | a9c82e64b37a4b94856e86bc1dce21ffd917986f (patch) | |
tree | 73d7adc2bd8f9a16791168b7211f8521847c5208 /nn/runtime/test | |
parent | 55bee1c40e56f690de39bae8e47a4b6f9743086c (diff) | |
download | ml-a9c82e64b37a4b94856e86bc1dce21ffd917986f.tar.gz |
Add AndroidTest.xml for NeuralNetworksTest_static and blacklist failing tests
Test: mm
Test: atest NeuralNetworksTest_static
Fixes: 155942515
Fixes: 155942747
Fixes: 155942575
Fixes: 155942378
Fixes: 155942301
Fixes: 155942510
Fixes: 155942697
Fixes: 155942566
Change-Id: I940dda440c958fcef527d532d57b01586e070fb7
Diffstat (limited to 'nn/runtime/test')
-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> |