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>
diff --git a/tests/validation/Validation.h b/tests/validation/Validation.h
index 9ce597b..1f51fe9 100644
--- a/tests/validation/Validation.h
+++ b/tests/validation/Validation.h
@@ -708,6 +708,7 @@
++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 @@
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 @@
++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 @@
{
++num_missing;
ARM_COMPUTE_TEST_INFO("Detection window not found " << *first1)
+ framework::ARM_COMPUTE_PRINT_INFO();
}
else
{
@@ -807,6 +811,7 @@
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();
}
}