Change TEST_MAPPING configuration of NeuralNetworksTest_static
This change restricts presubmit to only run a single pass of
NeuralNetworksTest_static ("pass 10"), corresponding to:
* useCpuOnly = 0
* computeMode = ComputeMode::ASYNC
* allowSyncExecHal = 1
Bug: 131770421
Test: mma
Test: atest
Change-Id: Ifd316ea87151ae80001208a38cb7af321f7cf9ec
Merged-In: Ifd316ea87151ae80001208a38cb7af321f7cf9ec
(cherry picked from commit 4762e99607eeb533117d1284d0a8dc3158fde48f)
diff --git a/TEST_MAPPING b/TEST_MAPPING
index f3eaa99..74ff411 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -15,6 +15,18 @@
{
// b/153876253, temporarily filter out failing l2_norm tests
"include-filter": "-*l2_normalization_axis_corner_case*"
+ },
+ {
+ // Restrict NeuralNetworksTest_static to run only a single
+ // pass consisting of:
+ // * useCpuOnly = 0
+ // * computeMode = ComputeMode::ASYNC
+ // * allowSyncExecHal = 1
+ //
+ // The value here is a bitmask indicating only "pass 10"
+ // should be run (1024 = 2^10). The bit conversions can be
+ // found in frameworks/ml/nn/runtime/test/TestMain.cpp.
+ "native-test-flag": "1024"
}
]
},