IVGCVSW-4106 Network not failing when Inference time is greater than threshold time
authorNikhil Raj <nikraj01@e110586.galway.arm.com>
Mon, 20 Jan 2020 11:50:16 +0000 (11:50 +0000)
committerNikhil Raj <nikhil.raj@arm.com>
Mon, 20 Jan 2020 12:58:15 +0000 (12:58 +0000)
Signed-off-by: Nikhil Raj <nikraj01@e110586.galway.arm.com>
Change-Id: I4e5f96cb3a843a4ae29bad539c0eed42282344a8

tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp

index ff460dd..97cf7c2 100644 (file)
@@ -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;
             }
         }
     }