diff options
author | Nikhil Raj <nikraj01@e110586.galway.arm.com> | 2020-01-20 11:50:16 +0000 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2020-01-20 12:58:15 +0000 |
commit | 5537747c5a69e60fca5e3f189d211a34dc4c22c0 (patch) | |
tree | 558e06c244ed73f3e2cf8dea12d87506b58d598f /tests/NetworkExecutionUtils | |
parent | d2d917d1305e401b2b584698c216e9f5a966c743 (diff) | |
download | armnn-5537747c5a69e60fca5e3f189d211a34dc4c22c0.tar.gz |
IVGCVSW-4106 Network not failing when Inference time is greater than threshold time
Signed-off-by: Nikhil Raj <nikraj01@e110586.galway.arm.com>
Change-Id: I4e5f96cb3a843a4ae29bad539c0eed42282344a8
Diffstat (limited to 'tests/NetworkExecutionUtils')
-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; } } } |