aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/Validation.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-08-30 19:55:29 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commitda19dab20191b86a97b0f925183088712445b39f (patch)
tree823cec71158a96f1a7925b4860bbdd2bf53637a7 /tests/validation/Validation.h
parent87e896a46a9403813654cadd609960c3b2af87be (diff)
downloadComputeLibrary-da19dab20191b86a97b0f925183088712445b39f.tar.gz
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 <bsgcomp@arm.com> Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'tests/validation/Validation.h')
-rw-r--r--tests/validation/Validation.h5
1 files changed, 5 insertions, 0 deletions
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<int64_t, int64_t> 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<int64_t, int64_t> 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<int64_t, int64_t> 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<int64_t, int64_t> 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<int64_t, int64_t> 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();
}
}