From 172c58d17cef75fd8b6850609de4f074c8bcdd98 Mon Sep 17 00:00:00 2001 From: steniu01 Date: Thu, 31 Aug 2017 13:49:08 +0100 Subject: COMPMID-345 Fix the failure counter wrongly logging issue Change-Id: Ic917b0361e602fadb8dbff69c6bec5582d6b261d Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85956 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/framework/Asserts.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/framework/Asserts.h') diff --git a/tests/framework/Asserts.h b/tests/framework/Asserts.h index b545a9ebba..936dfcf9bc 100644 --- a/tests/framework/Asserts.h +++ b/tests/framework/Asserts.h @@ -54,6 +54,14 @@ inline T make_printable(T &&value) return value; } +inline void ARM_COMPUTE_PRINT_INFO() +{ + std::stringstream msg; + arm_compute::test::framework::Framework::get().print_test_info(msg); + arm_compute::test::framework::Framework::get().log_info(msg.str()); + arm_compute::test::framework::Framework::get().clear_test_info(); +} + #define ARM_COMPUTE_TEST_INFO(INFO) \ { \ std::stringstream info; \ @@ -126,6 +134,7 @@ ARM_COMPUTE_TEST_COMP_FACTORY(ASSERT, Assertion, !=, NOT_EQUAL, throw arm_comput } \ arm_compute::test::framework::Framework::get().clear_test_info(); \ } while(false) + } // namespace framework } // namespace test } // namespace arm_compute -- cgit v1.2.1