From da19dab20191b86a97b0f925183088712445b39f Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 30 Aug 2018 19:55:29 +0100 Subject: COMPMID-1547: HarrisCorner's validation output spams the log file Clear info stream to avoid printing reduntand info. Change-Id: I4aa45875d8b2571fbe762bd4e95e53ca58acb29c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146316 Tested-by: Jenkins Reviewed-by: Michele DiGiorgio --- tests/validation/Validation.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/validation/Validation.h b/tests/validation/Validation.h index 9ce597b621..1f51fe906b 100644 --- a/tests/validation/Validation.h +++ b/tests/validation/Validation.h @@ -708,6 +708,7 @@ std::pair compare_keypoints(T first1, T last1, U first2, U las ++num_missing; ARM_COMPUTE_TEST_INFO("Key point not found"); ARM_COMPUTE_TEST_INFO("keypoint1 = " << *first1++); + framework::ARM_COMPUTE_PRINT_INFO(); } else { @@ -719,6 +720,7 @@ std::pair compare_keypoints(T first1, T last1, U first2, U las ARM_COMPUTE_TEST_INFO("Mismatching keypoint"); ARM_COMPUTE_TEST_INFO("keypoint1 [ref] = " << *first1); ARM_COMPUTE_TEST_INFO("keypoint2 [tgt] = " << *first2); + framework::ARM_COMPUTE_PRINT_INFO(); } ++first1; } @@ -733,6 +735,7 @@ std::pair compare_keypoints(T first1, T last1, U first2, U las ++num_missing; ARM_COMPUTE_TEST_INFO("Key point not found"); ARM_COMPUTE_TEST_INFO("keypoint1 = " << *first1++); + framework::ARM_COMPUTE_PRINT_INFO(); } } @@ -798,6 +801,7 @@ std::pair compare_detection_windows(T first1, T last1, U first { ++num_missing; ARM_COMPUTE_TEST_INFO("Detection window not found " << *first1) + framework::ARM_COMPUTE_PRINT_INFO(); } else { @@ -807,6 +811,7 @@ std::pair compare_detection_windows(T first1, T last1, U first ARM_COMPUTE_TEST_INFO("Mismatching detection window") ARM_COMPUTE_TEST_INFO("detection window 1= " << *first1) ARM_COMPUTE_TEST_INFO("detection window 2= " << *window) + framework::ARM_COMPUTE_PRINT_INFO(); } } -- cgit v1.2.1