ed68233697
This CL creates a new suite of tests to enable presubmit tests: * PresubmitHalNeuralnetworksV1_0TargetTest * PresubmitHalNeuralnetworksV1_1TargetTest * PresubmitHalNeuralnetworksV1_2TargetTest These tests are the same as the VTS tests, with the exception that they will skip running all tests (but still pass) if the service cannot be found and its name starts with "service-". This change does not affect the existing NNAPI VTS tests. Test: mma Test: atest Bug: 124040554 Change-Id: I36a38b66b21fd51d0ca381bb4e05a39266dd353f
28 lines
711 B
Text
28 lines
711 B
Text
{
|
|
"presubmit": [
|
|
{
|
|
"name": "PresubmitHalNeuralnetworksV1_0TargetTest",
|
|
"options": [
|
|
{
|
|
"native-test-flag": "--hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PresubmitHalNeuralnetworksV1_1TargetTest",
|
|
"options": [
|
|
{
|
|
"native-test-flag": "--hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "PresubmitHalNeuralnetworksV1_2TargetTest",
|
|
"options": [
|
|
{
|
|
"native-test-flag": "--hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|