aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Framework.h
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-09-16 11:11:27 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit0ce0844de22c483883ff3c40373434d5944d86ca (patch)
tree6eacdd6967a483830ce0906e9b1c1a0ccdcdbc29 /tests/framework/Framework.h
parent6f4d49f95c3598e41a7532faa637f42d8be5f4dd (diff)
downloadComputeLibrary-0ce0844de22c483883ff3c40373434d5944d86ca.tar.gz
COMPMID-417: Fix error logging
Previously every failed expectation was shown as expected error evene if the test wasn't marked as expected failure. Change-Id: Ie72a69ae17e6f9e625560f9b011f5c0457c0a0d7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87948 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'tests/framework/Framework.h')
-rw-r--r--tests/framework/Framework.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/framework/Framework.h b/tests/framework/Framework.h
index d77a1b2549..3741e44694 100644
--- a/tests/framework/Framework.h
+++ b/tests/framework/Framework.h
@@ -316,6 +316,7 @@ private:
std::set<InstrumentType> _instruments{ InstrumentType::NONE };
TestFilter _test_filter{};
LogLevel _log_level{ LogLevel::ALL };
+ const TestInfo *_current_test_info{ nullptr };
TestResult *_current_test_result{ nullptr };
std::vector<std::string> _test_info{};
};