From 5537747c5a69e60fca5e3f189d211a34dc4c22c0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Mon, 20 Jan 2020 11:50:16 +0000 Subject: IVGCVSW-4106 Network not failing when Inference time is greater than threshold time Signed-off-by: Nikhil Raj Change-Id: I4e5f96cb3a843a4ae29bad539c0eed42282344a8 --- tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 4 ++-- 1 file 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; } } } -- cgit v1.2.1