diff options
author | steniu01 <steven.niu@arm.com> | 2017-08-31 13:49:08 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 172c58d17cef75fd8b6850609de4f074c8bcdd98 (patch) | |
tree | ed1081b76c8eea526bb0968b2141983230a9df85 /tests/framework/Asserts.h | |
parent | 64ebe5b392b8135ec939b63596ffb8567a3e3248 (diff) | |
download | ComputeLibrary-172c58d17cef75fd8b6850609de4f074c8bcdd98.tar.gz |
COMPMID-345 Fix the failure counter wrongly logging issue
Change-Id: Ic917b0361e602fadb8dbff69c6bec5582d6b261d
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85956
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/framework/Asserts.h')
-rw-r--r-- | tests/framework/Asserts.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 |