diff options
-rw-r--r-- | tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index ff460dd85e..97cf7c2b52 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -502,8 +502,8 @@ int MainImpl(const ExecuteNetworkParams& params, if (thresholdMinusInference < 0) { - ARMNN_LOG(fatal) << "Elapsed inference time is greater than provided threshold time.\n"; - return EXIT_FAILURE; + std::string errorMessage = "Elapsed inference time is greater than provided threshold time."; + ARMNN_LOG(fatal) << errorMessage; } } } |