aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Framework.h
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-08-31 13:49:08 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit172c58d17cef75fd8b6850609de4f074c8bcdd98 (patch)
treeed1081b76c8eea526bb0968b2141983230a9df85 /tests/framework/Framework.h
parent64ebe5b392b8135ec939b63596ffb8567a3e3248 (diff)
downloadComputeLibrary-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/Framework.h')
-rw-r--r--tests/framework/Framework.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/framework/Framework.h b/tests/framework/Framework.h
index 055392cdae..6a26c29b80 100644
--- a/tests/framework/Framework.h
+++ b/tests/framework/Framework.h
@@ -191,6 +191,12 @@ public:
*/
void log_failed_expectation(const TestError &error);
+ /** Print the debug information that has already been logged
+ *
+ * @param[in] info Description of the log info.
+ */
+ void log_info(const std::string &info);
+
/** Number of iterations per test case.
*
* @return Number of iterations per test case.
@@ -270,6 +276,12 @@ public:
*/
std::vector<TestInfo> test_infos() const;
+ /** Get the current logging level
+ *
+ * @return The current logging level.
+ */
+ LogLevel log_level() const;
+
private:
Framework();
~Framework() = default;