summaryrefslogtreecommitdiff
path: root/nn/runtime/test/TestExecution.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2019-01-23 14:17:14 -0800
committerMiao Wang <miaowang@google.com>2019-01-23 19:20:18 -0800
commitd55d6ea494b652b787861ea80fcb6f7cb0433dcd (patch)
treeeadfc50812abf5929982fd2bab1a20bcb3ef5840 /nn/runtime/test/TestExecution.cpp
parenteeea25d73105bab339a41f1e948107d300e300f0 (diff)
downloadml-d55d6ea494b652b787861ea80fcb6f7cb0433dcd.tar.gz
Add a new ResultCode corresponding to ErrorStatus::DEVICE_UNAVAILABLE
Bug: 120796109 Test: mm Test: NeuralNetworksTest_static Change-Id: I32575a625689668f9beffabff6b5e0055282c359
Diffstat (limited to 'nn/runtime/test/TestExecution.cpp')
-rw-r--r--nn/runtime/test/TestExecution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/runtime/test/TestExecution.cpp b/nn/runtime/test/TestExecution.cpp
index 98bd7affe..eb31f44b3 100644
--- a/nn/runtime/test/TestExecution.cpp
+++ b/nn/runtime/test/TestExecution.cpp
@@ -406,7 +406,7 @@ template<class DriverClass> void ExecutionTestTemplate<DriverClass>::TestWait()
auto kTestValues = ::testing::Values(
std::make_tuple(ErrorStatus::NONE, Result::NO_ERROR),
- std::make_tuple(ErrorStatus::DEVICE_UNAVAILABLE, Result::OP_FAILED),
+ std::make_tuple(ErrorStatus::DEVICE_UNAVAILABLE, Result::UNAVAILABLE_DEVICE),
std::make_tuple(ErrorStatus::GENERAL_FAILURE, Result::OP_FAILED),
std::make_tuple(ErrorStatus::OUTPUT_INSUFFICIENT_SIZE, Result::OUTPUT_INSUFFICIENT_SIZE),
std::make_tuple(ErrorStatus::INVALID_ARGUMENT, Result::BAD_DATA));