From f418b67293fd82c7f5619ef32776f7f82537895b Mon Sep 17 00:00:00 2001 From: Hyunsoo Park Date: Tue, 7 Jul 2020 16:57:52 +0900 Subject: [testsuite] Remove code block of no use Change-Id: Ic3ae378576cdc3af828eff014bff6c76848b0276 Signed-off-by: Hyunsoo Park --- test/testsuites/inference/inference_test_suite.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/testsuites/inference/inference_test_suite.c b/test/testsuites/inference/inference_test_suite.c index e5f8908c..02c666ee 100644 --- a/test/testsuites/inference/inference_test_suite.c +++ b/test/testsuites/inference/inference_test_suite.c @@ -2295,25 +2295,25 @@ int main() case 1: { err = perform_image_classification(); if (err != MEDIA_VISION_ERROR_NONE) { - printf("Fail to perform image classification\n"); + printf("Fail to perform image classification. ERROR[0x%x]\n", err); } } break; case 2: { err = perform_object_detection(); if (err != MEDIA_VISION_ERROR_NONE) { - printf("Fail to perform object detection\n"); + printf("Fail to perform object detection. ERROR[0x%x]\n", err); } } break; case 3: { err = perform_face_detection(); if (err != MEDIA_VISION_ERROR_NONE) { - printf("Fail to perform face detection\n"); + printf("Fail to perform face detection. ERROR[0x%x]\n", err); } } break; case 4: { err = perform_facial_landmark_detection(); if (err != MEDIA_VISION_ERROR_NONE) { - printf("Fail to perform facial landmark detection"); + printf("Fail to perform facial landmark detection. ERROR[0x%x]\n", err); } break; } @@ -2327,9 +2327,6 @@ int main() } int do_another = 0; - if (err != MEDIA_VISION_ERROR_NONE) { - printf("ERROR: Action is finished with error code: %i\n"); - } sel_opt = 0; const int options_last[] = { 1, 2 }; -- cgit v1.2.3